Permissions, Privileges, and Access Controls in Sudo - CVE-2015-5602

 

Permissions, Privileges, and Access Controls in Sudo - CVE-2015-5602

Published: November 17, 2015 / Updated: July 28, 2020


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

Vulnerability details

The vulnerability allows a local non-authenticated attacker to execute arbitrary code.

sudoedit in Sudo before 1.8.15 allows local users to gain privileges via a symlink attack on a file whose full path is defined using multiple wildcards in /etc/sudoers, as demonstrated by "/home/*/*/file.txt."


Affected software

Sudo
Gentoo Linux
Fedora
sudo (Alpine package)
sudo

How to mitigate CVE-2015-5602

Install update from vendor's website.

Sudo - update to 1.8.15
sudo (Alpine package) - update to 1.8.15-r0
sudo - addressed in versions 1.8.15-1.fc21, 1.8.15-1.fc22, 1.8.15-1.fc23

External References

Related Security Bulletins