Description
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.
Published: 2018-02-15
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2018-18911 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.
Ubuntu USN Ubuntu USN USN-5254-1 shadow vulnerabilities
History

No history.

Subscriptions

Shadow Project Shadow
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T06:24:10.505Z

Reserved: 2018-02-15T00:00:00.000Z

Link: CVE-2018-7169

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-02-15T20:29:00.867

Modified: 2024-11-21T04:11:42.733

Link: CVE-2018-7169

cve-icon Redhat

Severity : Moderate

Publid Date: 2017-11-14T00:00:00Z

Links: CVE-2018-7169 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses