CWE Code: 269
Vulnerability Type: privilege_escalation
CVSS Score: 4.6
CWE Name:  Improper Privilege Management
Summary: the inode_init_owner function in fs/inode.c in the linux kernel through 4.17.4 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.
Access Authentication: NONE
Access Complexity: LOW
Access Vector: LOCAL
Impact (C/I/A): PARTIAL/PARTIAL/PARTIAL
Published Date: 2018-07-06
Last Modified Date: 2019-10-03