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…
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.0% · top 36% of all CVEs (4 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
n/a
- affected n/a
References (28)
- USN-3752-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2018:3083 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-3752-3 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://twitter.com/grsecurity/status/1015082951204327425 (opens in a new tab)x_refsource_MISCx_transferred
- USN-3753-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- USN-3754-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- http://openwall.com/lists/oss-security/2018/07/13/2 (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2018:2948 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848c9c93c2c828ef4c3a8ca36ce46c7 (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20180815 [SECURITY] [DLA 1466-1] linux-4.9 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 45033 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- DSA-4266 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- 106503 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- USN-3752-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- RHSA-2018:3096 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- USN-3753-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://github.com/torvalds/linux/commit/0fa3ecd87848c9c93c2c828ef4c3a8ca36ce46c7 (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2019:0717 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://support.f5.com/csp/article/K00854051 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2019:2476 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:2566 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:2696 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:2730 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:4159 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2019:4164 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=0b3369840cd61c23e2b9241093737b4c395cb406 (opens in a new tab)x_refsource_CONFIRMx_transferred
- FEDORA-2022-3a60c34473 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- FEDORA-2022-5d0676b098 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-13405)Record last updated .