CVE-2018-13405
HighThe 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 3.1 score
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-269CVE-2018-13405 is classified as CWE-269
See CWE-269 on MITRE CWE for full details on this weakness type.
References
The following references provide additional information about CVE-2018-13405 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
Securityfocushttp://www.securityfocus.com/bid/106503Broken Link
-
Third Party Advisory
-
Third Party Advisory
-
Third Party Advisory
-
Third Party Advisory
-
Third Party Advisory
-
Third Party Advisory
-
Third Party Advisory
-
Third Party Advisory
-
Third Party Advisory
-
Third Party Advisory
-
Third Party Advisory
-
-
-
Third Party Advisory
-
Third Party Advisory
-
Ubuntu Securityhttps://usn.ubuntu.com/3752-1/Third Party Advisory
-
Ubuntu Securityhttps://usn.ubuntu.com/3752-2/Third Party Advisory
-
Ubuntu Securityhttps://usn.ubuntu.com/3752-3/Third Party Advisory
-
Ubuntu Securityhttps://usn.ubuntu.com/3753-1/Third Party Advisory
-
Ubuntu Securityhttps://usn.ubuntu.com/3753-2/Third Party Advisory
-
Ubuntu Securityhttps://usn.ubuntu.com/3754-1/Third Party Advisory
-
Debian Securityhttps://www.debian.org/security/2018/dsa-4266Third Party Advisory
-
Exploit-DBhttps://www.exploit-db.com/exploits/45033/Exploit Third Party Advisory VDB Entry
-
PatchKernel patch commithttp://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848c9c93c2c828ef4c3a8ca36ce46c7
-
PatchKernel patch commithttp://openwall.com/lists/oss-security/2018/07/13/2
-
PatchKernel patch commithttps://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=0b3369840cd61c23e2b9241093737b4c395cb406
Frequently asked questions
-
What is CVE-2018-13405?
CVE-2018-13405 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 . CVE-2018-13405 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2018-13405?
CVE-2018-13405 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2018-13405?
No patch is currently available for CVE-2018-13405. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2018-13405 actively exploited?
No — CVE-2018-13405 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.