Public exploit available
Public proof-of-concept or exploit code exists (ExploitDB / Metasploit / Nuclei).
CVE-2018-13405
CWE-269 — Improper Privilege ManagementCWE-284 — Improper Access ControlCWE-27320 documents11 sources
Severity
7.8HIGH
EPSS
0.2%
top 62.45%
CISA KEV
Not in KEV
Exploit
PoC available
Public exploit / PoC exists
Affected products
Timeline
PublishedJul 6
Latest updateAug 9
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 gr…
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9
Affected Packages21 packages
Also affects: Debian Linux 8.0, 9.0, Ubuntu Linux 14.04, 16.04, 18.04, Enterprise Linux 7.4, 7.5, 7, 6.6, 7.2, 7.3, Fedora 34, 35
Patches
🔴Vulnerability Details
3💥Exploits & PoCs
1Exploit-DB▶
Linux (Ubuntu) - Other Users coredumps Can Be Read via setgid Directory and killpriv Bypass↗2018-07-16
📋Vendor Advisories
13Microsoft▶
A vulnerability was found in the fs/inode.c:inode_init_owner() function logic of the LInux kernel that allows local users to create files for the XFS file-system with an unintended group ownership and↗2022-08-09
Microsoft▶
A flaw was found in the QEMU virtio-fs shared file system daemon (virtiofsd) implementation. This flaw is strictly related to CVE-2018-13405. A local guest user can create files in the directories sha↗2022-08-09
💬Community
2Bugzilla▶
CVE-2018-13405 kernel: Missing check in fs/inode.c:inode_init_owner() does not clear SGID bit on non-directories for non-members [fedora-all]↗2018-07-09
Bugzilla▶
CVE-2018-13405 kernel: Missing check in fs/inode.c:inode_init_owner() does not clear SGID bit on non-directories for non-members↗2018-07-09