PT-2018-3823 · Linux+5 · Linux Kernel+5

Jann Horn

·

Published

2014-08-28

·

Updated

2022-08-29

·

CVE-2018-13405

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions through 3.16
Description The issue is related to insecure privilege management in the inode init owner function of the Linux kernel. This allows an attacker to access confidential data, compromise its integrity, and cause a denial of service. Specifically, in a scenario where a directory is SGID to a certain group and is writable by a user who is not a member of that group, the non-member can create a plain file with the group ownership of that group, potentially leading to privilege escalation by making the file executable and SGID.
Recommendations For Linux kernel versions through 3.16, consider restricting access to the inode init owner function until a patch is available, or apply configuration changes to limit the impact of the insecure privilege management. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Improper Privilege Management

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2022:0886
ALSA-2022:1988
ALT-PU-2014-2035
ALT-PU-2015-1794
BDU:2022-05860
CESA-2018_3083
CESA-2019_0717
CVE-2018-13405
DLA-1466-1
DLA-1529-1
DSA-4266-1
MGASA-2018-0324
MGASA-2018-0340
MGASA-2018-0341
OPENSUSE-SU-2018_2118-1
OPENSUSE-SU-2018_2119-1
OPENSUSE-SU-2021:1477-1
OPENSUSE-SU-2021:3876-1
OPENSUSE-SU-2021_1460-1
OPENSUSE-SU-2021_1477-1
OPENSUSE-SU-2021_3876-1
RHSA-2018:2948
RHSA-2018:3083
RHSA-2018:3096
RHSA-2018_3083
RHSA-2018_3096
RHSA-2019:0717
RHSA-2019:2476
RHSA-2019:2566
RHSA-2019:2696
RHSA-2019:2730
RHSA-2019:4159
RHSA-2019:4164
RHSA-2019_0717
SUSE-SU-2018:2051-1
SUSE-SU-2018:2092-1
SUSE-SU-2018:2150-1
SUSE-SU-2018:2222-1
SUSE-SU-2018:2344-1
SUSE-SU-2018:2344-2
SUSE-SU-2018:2362-1
SUSE-SU-2018:2384-1
SUSE-SU-2021:3723-1
SUSE-SU-2021:3748-1
SUSE-SU-2021:3876-1
SUSE-SU-2021:3929-1
SUSE-SU-2021:3935-1
SUSE-SU-2021:3972-1
USN-3752-1
USN-3752-2
USN-3752-3
USN-3753-1
USN-3753-2
USN-3754-1

Affected Products

Alt Linux
Centos
Linux Kernel
Red Hat
Suse
Ubuntu