Privilege escalation in Sudo

Published: 2017-05-31 13:15:30
Severity Low
Patch available YES
Number of vulnerabilities 1
CVSSv2 3.4 (AV:L/AC:L/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:C)
CVE ID CVE-2017-1000367
Exploitation vector Local
Public exploit Not available
Vulnerable software Sudo
Vulnerable software versions Sudo 1.8.20
Sudo 1.8.19
Sudo 1.8.18
Show more
Vendor URL Sudo
Advisory type Public

Security Advisory

1) Command injection


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.


Update to version 1.8.20p1.

External links

Back to List