CVE-2019-12840: Webmin - Command Injection
- Cve: CVE-2019-12840
- Name: Webmin - Command Injection
- Description: In Webmin through 1.910, any user authorized to the "Package Updates" module can execute arbitrary commands with root privileges via the data parameter to update.cgi.
- Impact: Authorized users can execute arbitrary commands as root, leading to full system compromise.
- Remediation: Update to the latest version of Webmin where this issue is fixed.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: User must be authorized to the Package Updates module
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.77649
- Epss percentile: 0.99573
- Assignee: [email protected]
- Published at: 2019-06-15T20:29:00Z
- Age in days: 2719
- Modified at: 2026-06-17T02:15:35Z
- Public exploits total: 10
- References total: 4
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-12840
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://pentest.com.tr/exploits/Webmin-1910-Package-Updates-Remote-Command-Execution.html | nvd | 2019-06-15 |
| https://www.exploit-db.com/exploits/46984 | nvd | 2019-06-15 |
| https://github.com/note0577/CVE-2019-12840-NodeJs-Exploit | poc-in-github | 2025-06-04 |
| https://github.com/Pol-Ruiz/PoC-CVE-2019-12840 | poc-in-github | 2024-01-25 |
| https://github.com/WizzzStark/CVE-2019-12840.py | poc-in-github | 2021-10-05 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://pentest.com.tr/exploits/Webmin-1910-Package-Updates-Remote-Command-Execution.html | Exploit, Third Party Advisory |
| https://www.exploit-db.com/exploits/46984 | Exploit, Third Party Advisory, VDB Entry |
| http://packetstormsecurity.com/files/153372/Webmin-1.910-Remote-Command-Execution.html | |
| http://www.securityfocus.com/bid/108790 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| webmin:webmin | <= 1.910 | no | nvd | /v1/products/webmin/webmin |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 10
- Public exploit first date: 2019-05-16
- Remote: yes
- Authentication required: yes
- Exposed hosts: 96353
- Checked, none or zero: known exploited, known exploited by, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports