Format string error in Sudo



| Updated: 2020-07-28
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2012-0809
CWE-ID CWE-134
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 one low risk vulnerability.

1) Format string error

EUVDB-ID: #VU32823

Risk: Low

CVSSv4.0: 7.3 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear]

CVE-ID: CVE-2012-0809

CWE-ID: CWE-134 - Use of Externally-Controlled Format String

Exploit availability: Yes

Description

The vulnerability allows a local non-authenticated attacker to execute arbitrary code.

Format string vulnerability in the sudo_debug function in Sudo 1.8.0 through 1.8.3p1 allows local users to execute arbitrary code via format string sequences in the program name for sudo.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Sudo: 1.8.0 - 1.8.3p1

CPE2.3 External links

https://archives.neohapsis.com/archives/fulldisclosure/2012-01/0591.html
https://archives.neohapsis.com/archives/fulldisclosure/2012-01/att-0591/advisory_sudo.txt
https://security.gentoo.org/glsa/glsa-201203-06.xml
https://www.sudo.ws/sudo/alerts/sudo_debug.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. However, proof of concept for this vulnerability is available.



###SIDEBAR###