#VU24810 Stack-based buffer overflow in Sudo


Published: 2020-03-18 | Updated: 2021-08-01

Vulnerability identifier: #VU24810

Vulnerability risk: Low

CVSSv3.1:

CVE-ID: CVE-2019-18634

CWE-ID: CWE-121

Exploitation vector: Local

Exploit availability: Yes

Vulnerable software:
Sudo
Client/Desktop applications / Software for system administration

Vendor: Sudo

Description

The vulnerability allows a local user to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the getln() function in tgetpass.c, if pwfeedback is enabled in /etc/sudoers. A local user can trigger stack-based buffer overflow and execute arbitrary code on the target system with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Sudo: 1.8.0 - 1.8.30


CPE

External links
http://www.openwall.com/lists/oss-security/2020/01/30/6
http://www.openwall.com/lists/oss-security/2020/01/31/1
http://seclists.org/bugtraq/2020/Jan/44
http://support.apple.com/kb/HT210919
http://www.sudo.ws/alerts/pwfeedback.html
http://www.sudo.ws/security.html


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?


Latest bulletins with this vulnerability