#VU6846 Command injection in Sudo - CVE-2017-1000367

 

#VU6846 Command injection in Sudo - CVE-2017-1000367

Published: May 31, 2017 / Updated: April 7, 2020


Vulnerability identifier: #VU6846
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2017-1000367
CWE-ID: CWE-77
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vulnerable software:
Sudo
Software vendor:
Sudo

Description

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

The weakness exists due to command validation flaw in the get_process_ttyname() function. A local attacker can issue a specially crafted sudo command, cause the system to recognize the user's tty as an arbitrary file and overwrite arbitrary files. Exploitation of the bug is possible in case a malicious user has sudo privileges, the system contains SELinux and sudo has been built on SELinux support.

Successful exploitation of the vulnerability results in root access to the system.

Remediation

Update to version 1.8.20p1.

External links