An issue was discovered in shadow 4.5. newgidmap (in shadow-utils) is setuid and allows an unprivileged user to be placed in a user namespace where setgroups(2) is permitted. This allows an attacker to remove themselves from a supplementary group, which may allow access to certain filesystem paths if the administrator has used "group blacklisting" (e.g., chmod g-rwx) to restrict access to paths. This flaw effectively reverts a security feature in the kernel (in particular, the /proc/self/setgroups knob) to prevent this sort of privilege escalation.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: mitre
Published: 2018-02-15T19:00:00
Updated: 2024-08-05T06:24:10.505Z
Reserved: 2018-02-15T00:00:00
Link: CVE-2018-7169
Vulnrichment
No data.
NVD
Status : Modified
Published: 2018-02-15T20:29:00.867
Modified: 2024-11-21T04:11:42.733
Link: CVE-2018-7169
Redhat