OS Command Injection in Sudo - CVE-2023-28486

 

OS Command Injection in Sudo - CVE-2023-28486

Published: March 30, 2023


Vulnerability identifier: #VU74196
CSH Severity: Low
CVSS v4.0: 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:U/U:Clear
CVE-ID: CVE-2023-28486
CWE-ID: CWE-78
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Sudo
Affected software:
Sudo

Detailed vulnerability description

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

The vulnerability exists due to improper input validation when processing control characters in the log messages. A local user can inject specially crafted characters to the log messages and execute arbtirary OS commands on the system when the command is executed from the log (e.g. via the "sudoreplay -l").


How to mitigate CVE-2023-28486

Install updates from vendor's website.

Sources