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: 8.6 [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]
CVE-ID: CVE-2019-12840
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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.


Affected software

Webmin

How to mitigate CVE-2019-12840

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


Links to Public Exploits and PoC-codes

External References

Related Security Bulletins