Privilege escalation in Sudo



| Updated: 2020-02-01
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-18634
CWE-ID CWE-121
Exploitation vector Local
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Sudo
Client/Desktop applications / Software for system administration

Vendor Sudo

Security Bulletin

This security bulletin contains information about 1 vulnerabilities.

Updated 01.02.2020

Fixed error in bulletin severity, changed from high to low.

1) Stack-based buffer overflow

EUVDB-ID: #VU24810

Risk: Low

CVSSv4.0: 7.1 [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:P/U:Clear]

CVE-ID: CVE-2019-18634

CWE-ID: CWE-121 - Stack-based buffer overflow

Exploit availability: Yes

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

CPE2.3 External links

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


Q & A

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.



###SIDEBAR###