HIGH · 7.8

CVE-2018-13405

The inode_init_owner function in fs/inode.c in the Linux kernel through 3.16 allows local users to create files with an unintended group ownership, in a scenario where a directory is SGID to a certain...

Vulnerability Description

The inode_init_owner function in fs/inode.c in the Linux kernel through 3.16 allows local users to create files with an unintended group ownership, 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. Here, the non-member can trigger creation of a plain file whose group ownership is that group. The intended behavior was that the non-member can trigger creation of a directory (but not a plain file) whose group ownership is that group. The non-member can escalate privileges by making the plain file executable and SGID.

CVSS Score

7.8

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
LinuxLinux Kernel<= 3.16
DebianDebian Linux8.0
CanonicalUbuntu Linux14.04
FedoraprojectFedora34
RedhatMrg Realtime2.0
RedhatVirtualization4.0
RedhatEnterprise Linux Aus7.4
RedhatEnterprise Linux Desktop6.0
RedhatEnterprise Linux Eus7.4
RedhatEnterprise Linux For Real Time7
RedhatEnterprise Linux Server6.0
RedhatEnterprise Linux Server Aus6.6
RedhatEnterprise Linux Server Tus7.2
RedhatEnterprise Linux Workstation6.0
F5Big-Ip Access Policy Manager>= 13.0.0, < 13.1.3.5
F5Big-Ip Advanced Firewall Manager>= 13.0.0, < 13.1.3.5
F5Big-Ip Analytics>= 13.0.0, < 13.1.3.5
F5Big-Ip Application Acceleration Manager>= 13.0.0, < 13.1.3.5
F5Big-Ip Application Security Manager>= 13.0.0, < 13.1.3.5
F5Big-Ip Domain Name System>= 13.0.0, < 13.1.3.5

Related Weaknesses (CWE)

References

FAQ

What is CVE-2018-13405?

CVE-2018-13405 is a vulnerability with a CVSS score of 7.8 (HIGH). The inode_init_owner function in fs/inode.c in the Linux kernel through 3.16 allows local users to create files with an unintended group ownership, in a scenario where a directory is SGID to a certain...

How severe is CVE-2018-13405?

CVE-2018-13405 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2018-13405?

Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel, Debian Debian Linux, Canonical Ubuntu Linux, Fedoraproject Fedora, Redhat Mrg Realtime.