Vulnerability identifier: #VU7193
Vulnerability risk: Low
CVSSv3.1: 7.7 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-20
Exploitation vector: Local
Exploit availability: No
Vulnerable software:
Sudo
Client/Desktop applications /
Software for system administration
Vendor: Sudo
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.
Mitigation
Update to version 1.8.20p2.
Vulnerable software versions
Sudo: 1.7.4 - 1.8.20p1
External links
http://www.sudo.ws/repos/sudo/raw-rev/15a46f4007dd
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.