OS Command Injection in Webmin - CVE-2019-12840

 

OS Command Injection in Webmin - CVE-2019-12840

Published: June 18, 2019 / Updated: June 17, 2021


Vulnerability identifier: #VU18817
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Green
CVE-ID: CVE-2019-12840
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Webmin
Affected software:
Webmin

Detailed vulnerability description

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

The vulnerability exists due to insufficient sanitization of user-supplied data passed via the "u" HTTP POST parameter to "update.cgi" script. A remote authenticated attacker can send a specially crafted request to the Package Updates module and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system bit requires access to Package Updates module.


How to mitigate CVE-2019-12840

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Sources