{"id":"EDB-45033","name":"Linux (Ubuntu) - Other Users coredumps Can Be Read via setgid Directory and killpriv Bypass","description":"Linux (Ubuntu) - Other Users coredumps Can Be Read via setgid Directory and killpriv Bypass","cves":["CVE-2018-13405"],"author":"Google Security Research","published":"2018-07-16","platform":"linux","type":"dos","language":"C","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/45033","path":"exploits/linux/dos/45033.c","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-45033.c","vulnerabilities":[{"id":"CVE-2018-13405","state":"PUBLISHED","title":null,"titleSource":null,"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.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2018-13405","cvss":{"version":"3.1","baseScore":7.8,"severity":"high","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2018-13405"},"updatedAt":"2024-08-05T09:00:35.380Z","retrievedAt":"2026-11-27T17:09:42.837Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-45033.png?v=2","url":"https://exploitbin.com/exploits/EDB-45033","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-45033/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-45033/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"}