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
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: mitre
Published: 2018-07-06T14:00:00
Updated: 2024-08-05T09:00:35.380Z
Reserved: 2018-07-06T00:00:00
Link: CVE-2018-13405
Vulnrichment
No data.
NVD
Status : Modified
Published: 2018-07-06T14:29:01.223
Modified: 2023-11-07T02:52:32.943
Link: CVE-2018-13405
Redhat