SecurityContext

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

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

Public exploits

UrlSourceAdded date
https://pentest.com.tr/exploits/Webmin-1910-Package-Updates-Remote-Command-Execution.htmlnvd2019-06-15
https://www.exploit-db.com/exploits/46984nvd2019-06-15
https://github.com/note0577/CVE-2019-12840-NodeJs-Exploitpoc-in-github2025-06-04
https://github.com/Pol-Ruiz/PoC-CVE-2019-12840poc-in-github2024-01-25
https://github.com/WizzzStark/CVE-2019-12840.pypoc-in-github2021-10-05

References

Same in every row:

  • Source: nvd
UrlTags
https://pentest.com.tr/exploits/Webmin-1910-Package-Updates-Remote-Command-Execution.htmlExploit, Third Party Advisory
https://www.exploit-db.com/exploits/46984Exploit, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/153372/Webmin-1.910-Remote-Command-Execution.html
http://www.securityfocus.com/bid/108790

Products

ProductAffectedPlatform boundSourcesUrl
webmin:webmin<= 1.910nonvd/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