Privilege escalation in Sudo - CVE-2017-1000368

 

Privilege escalation in Sudo - CVE-2017-1000368

Published: June 26, 2017


Vulnerability identifier: #VU7193
CSH Severity: Low
CVSS v4.0: 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/E:U/U:Clear
CVE-ID: CVE-2017-1000368
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Sudo
Affected software:
Sudo

Detailed vulnerability description

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

The weakness exists due to improper input validation in the get_process_ttyname() function when parsing tty information from the process status file in the proc files by sudo. A local attacker can supply a specially crafted file to obtain potentially sensitive information or execute arbitrary command with root privileges.

Successful exploitation of the vulnerability may result in system compromise.

How to mitigate CVE-2017-1000368

Update to version 1.8.20p2.

Sources