{"id":"CVE-2018-13405","published":"2018-07-06T14:00:00Z","modified":"2024-08-05T09:00:35Z","title":"The inode_init_owner function in fs/inode.c in the Linux kernel through 3.16 allows local users to create files with…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01036,"percentile":0.63772,"provenance":"source"},"cwes":[],"references":[{"url":"https://usn.ubuntu.com/3752-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3083","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://usn.ubuntu.com/3752-3/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://twitter.com/grsecurity/status/1015082951204327425","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/3753-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/3754-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://openwall.com/lists/oss-security/2018/07/13/2","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2948","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0fa3ecd87848c9c93c2c828ef4c3a8ca36ce46c7","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/08/msg00014.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.exploit-db.com/exploits/45033/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://www.debian.org/security/2018/dsa-4266","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securityfocus.com/bid/106503","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://usn.ubuntu.com/3752-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3096","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://usn.ubuntu.com/3753-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://github.com/torvalds/linux/commit/0fa3ecd87848c9c93c2c828ef4c3a8ca36ce46c7","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0717","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://support.f5.com/csp/article/K00854051","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2476","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2566","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2696","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2730","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:4159","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:4164","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=0b3369840cd61c23e2b9241093737b4c395cb406","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTKKIAUMR5FAYLZ7HLEPOXMKAAE3BYBQ/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HRBNBX73SAFKQWBOX76SLMWPTKJPVGEJ/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":12.75},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2018-07-16"},"first":{"date":"2018-07-16","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/45033"},"provenance":"source"},"euvd":{"id":"EUVD-2018-5348","exploited":false,"provenance":"source"},"exploits":[{"id":45033,"url":"https://www.exploit-db.com/exploits/45033","title":"Linux (Ubuntu) - Other Users coredumps Can Be Read via setgid Directory and killpriv Bypass","date":"2018-07-16","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/45033/"],"lineage":{"children":[{"from":"CVE-2018-13405","to":"CVE-2021-4037","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"This vulnerability is similar to the previous CVE-2018-13405 and adds the missed fix for the XFS.","from":"CVE.org","in":"CVE-2021-4037"}]},{"from":"CVE-2018-13405","to":"CVE-2022-0358","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"This flaw is strictly related to CVE-2018-13405.","from":"CVE.org","in":"CVE-2022-0358"}]}]}}