CVE-2018-13405
Last modified
CVE-2018-13405 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 1.02% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | <= 3.16 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
| Redhat | Mrg Realtime | 2.0 |
| Redhat | Virtualization | 4.0 |
| Redhat | Enterprise Linux Aus | 7.4 |
| Redhat | Enterprise Linux Desktop | 6.0 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Enterprise Linux Eus | 7.4 |
| Redhat | Enterprise Linux Eus | 7.5 |
| Redhat | Enterprise Linux For Real Time | 7 |
| Redhat | Enterprise Linux Server | 6.0 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Server Aus | 6.6 |
| Redhat | Enterprise Linux Server Aus | 7.2 |
| Redhat | Enterprise Linux Server Aus | 7.3 |
| Redhat | Enterprise Linux Server Tus | 7.2 |
| Redhat | Enterprise Linux Server Tus | 7.3 |
| Redhat | Enterprise Linux Server Tus | 7.4 |
| Redhat | Enterprise Linux Workstation | 6.0 |
| Redhat | Enterprise Linux Workstation | 7.0 |
| F5 | Big-Ip Access Policy Manager | >= 13.0.0, < 13.1.3.5 |
| F5 | Big-Ip Access Policy Manager | >= 14.0.0, < 14.1.3.1 |
| F5 | Big-Ip Access Policy Manager | >= 15.0.0, < 15.0.1.4 |
| F5 | Big-Ip Access Policy Manager | 15.1.0 |
| F5 | Big-Ip Access Policy Manager | 16.0.0 |
| F5 | Big-Ip Advanced Firewall Manager | >= 13.0.0, < 13.1.3.5 |
| F5 | Big-Ip Advanced Firewall Manager | >= 14.0.0, < 14.1.3.1 |
| F5 | Big-Ip Advanced Firewall Manager | >= 15.0.0, < 15.0.1.4 |
| F5 | Big-Ip Advanced Firewall Manager | 15.1.0 |
| F5 | Big-Ip Advanced Firewall Manager | 16.0.0 |
| F5 | Big-Ip Analytics | >= 13.0.0, < 13.1.3.5 |
| F5 | Big-Ip Analytics | >= 14.0.0, < 14.1.3.1 |
| F5 | Big-Ip Analytics | >= 15.0.0, < 15.0.1.4 |
| F5 | Big-Ip Analytics | 15.1.0 |
| F5 | Big-Ip Analytics | 16.0.0 |
| F5 | Big-Ip Application Acceleration Manager | >= 13.0.0, < 13.1.3.5 |
| F5 | Big-Ip Application Acceleration Manager | >= 14.0.0, < 14.1.3.1 |
| F5 | Big-Ip Application Acceleration Manager | >= 15.0.0, < 15.0.1.4 |
| F5 | Big-Ip Application Acceleration Manager | 15.1.0 |
| F5 | Big-Ip Application Acceleration Manager | 16.0.0 |
| F5 | Big-Ip Application Security Manager | >= 13.0.0, < 13.1.3.5 |
| F5 | Big-Ip Application Security Manager | >= 14.0.0, < 14.1.3.1 |
| F5 | Big-Ip Application Security Manager | >= 15.0.0, < 15.0.1.4 |
| F5 | Big-Ip Application Security Manager | 15.1.0 |
Showing 50 of 91 affected configurations. See NVD for the full list.
References
- http://openwall.com/lists/oss-security/2018/07/13/2Mailing List, Patch, Third Party Advisory
- http://www.securityfocus.com/bid/106503Broken Link
- https://access.redhat.com/errata/RHSA-2018:2948Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3083Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3096Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:0717Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2476Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2566Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2696Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2730Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:4159Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:4164Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=0b3369840cd61c23e2b9241093737b4c395cb406Mailing List, Patch, Vendor Advisory
- https://github.com/torvalds/linux/commit/0fa3ecd87848c9c93c2c828ef4c3a8ca36ce46c7Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/08/msg00014.htmlThird Party Advisory
- https://support.f5.com/csp/article/K00854051Third Party Advisory
- https://twitter.com/grsecurity/status/1015082951204327425Third Party Advisory
- https://usn.ubuntu.com/3752-1/Third Party Advisory
- https://usn.ubuntu.com/3752-2/Third Party Advisory
- https://usn.ubuntu.com/3752-3/Third Party Advisory
- https://usn.ubuntu.com/3753-1/Third Party Advisory
- https://usn.ubuntu.com/3753-2/Third Party Advisory
- https://usn.ubuntu.com/3754-1/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4266Third Party Advisory
- https://www.exploit-db.com/exploits/45033/Exploit, Third Party Advisory, VDB Entry
- http://openwall.com/lists/oss-security/2018/07/13/2Mailing List, Patch, Third Party Advisory
- http://www.securityfocus.com/bid/106503Broken Link
- https://access.redhat.com/errata/RHSA-2018:2948Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3083Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3096Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:0717Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2476Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2566Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2696Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:2730Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:4159Third Party Advisory
- https://access.redhat.com/errata/RHSA-2019:4164Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=0b3369840cd61c23e2b9241093737b4c395cb406Mailing List, Patch, Vendor Advisory
- https://github.com/torvalds/linux/commit/0fa3ecd87848c9c93c2c828ef4c3a8ca36ce46c7Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/08/msg00014.htmlThird Party Advisory
- https://support.f5.com/csp/article/K00854051Third Party Advisory
- https://twitter.com/grsecurity/status/1015082951204327425Third Party Advisory
- https://usn.ubuntu.com/3752-1/Third Party Advisory
- https://usn.ubuntu.com/3752-2/Third Party Advisory
- https://usn.ubuntu.com/3752-3/Third Party Advisory
- https://usn.ubuntu.com/3753-1/Third Party Advisory
- https://usn.ubuntu.com/3753-2/Third Party Advisory
- https://usn.ubuntu.com/3754-1/Third Party Advisory
- https://www.debian.org/security/2018/dsa-4266Third Party Advisory
- https://www.exploit-db.com/exploits/45033/Exploit, Third Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-13405?
How severe is CVE-2018-13405?
How do I fix CVE-2018-13405?
Are you affected by CVE-2018-13405?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
