RCE in Webmin
CVE-2024-12828
Webmin CGI Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Webmin. Authentication is required to exploit this vulnerability.
The specific flaw exists within the handling of CGI requests. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-22346.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.333, 98.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Webmin — versions webmin 2.104, 2.104
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- fanjm2025-jeremy/CVE-2024-12828-PoC (last pushed 2025-12-05): Webmin CGI Command Injection Remote Code Execution Vulnerability
References
- ZDI-24-1725 (x_research-advisory, Third Party Advisory)
- vendor-provided URL (vendor-advisory, Patch)
This CVE has public exploit evidence. See the latest CVEs with public exploits.