Privilege escalation in shadow - CVE-2018-7169

 

Privilege escalation in shadow - CVE-2018-7169

Published: March 20, 2018 / Updated: March 20, 2018


Vulnerability identifier: #VU11179
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-7169
CWE-ID: CWE-264
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The weakness exists due to improper security restrictions when using the newgidmap setuid executable. A local attacker can gain root privileges.

Affected software

shadow
Gentoo Linux
Ubuntu
Fedora
cflinuxfs3
login (Ubuntu package)
passwd (Ubuntu package)
uidmap (Ubuntu package)
shadow-utils

How to mitigate CVE-2018-7169

Install update from vendor's website.

cflinuxfs3 - update to 0.273.0
login (Ubuntu package) - update to 1:4.5-1ubuntu2.2
passwd (Ubuntu package) - update to 1:4.5-1ubuntu2.2
uidmap (Ubuntu package) - update to 1:4.5-1ubuntu2.2
shadow-utils - update to 4.6-1.fc28

External References

Related Security Bulletins