OS Command Injection in acme.sh - CVE-2023-38198

 

OS Command Injection in acme.sh - CVE-2023-38198

Published: June 20, 2023 / Updated: April 26, 2024


Vulnerability identifier: #VU77558
CSH Severity: Critical
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Red
CVE-ID: CVE-2023-38198
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vendor: Neilpang (neil)
Affected software:
acme.sh

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation when parsing certificates. A remote attacker can pass specially crafted data to the application and execute arbitrary OS commands on the target system.

Note, exploitation of this vulnerability has been observed in the wild by compromised HiCA servers.


How to mitigate CVE-2023-38198

Install updates from vendor's website.

Sources