{"id":"CVE-2019-12840","published":"2019-06-15T19:52:10Z","modified":"2024-08-04T23:32:55Z","title":"In Webmin through 1.910, any user authorized to the \"Package Updates\" module can execute arbitrary commands with root…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw lies in Webmin through version 1.910, in the \"Package Updates\" module, where the data parameter passed to update.cgi is not properly handled. An attacker who holds authorization for the Package Updates module can run arbitrary commands with root privileges by supplying crafted input to that parameter, with no additional conditions noted beyond that existing module access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:18:48Z"},"cvss":null,"epss":{"score":0.77649,"percentile":0.99563,"date":"2026-11-02","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://www.exploit-db.com/exploits/46984","tags":["x_refsource_MISC"]},{"url":"https://pentest.com.tr/exploits/Webmin-1910-Package-Updates-Remote-Command-Execution.html","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/108790","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://packetstormsecurity.com/files/153372/Webmin-1.910-Remote-Command-Execution.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2019-4420","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-4420","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":46984,"url":"https://www.exploit-db.com/exploits/46984","title":"Webmin 1.910 - 'Package Updates' Remote Command Execution (Metasploit)","type":"remote","platform":"linux","date":"2019-06-11","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2019-06-11"},"pocGithub":{"count":7,"skipped":0,"earliest":"2019-11-05","earliestUrl":"https://github.com/bkaraceylan/CVE-2019-12840_POC","repos":[{"name":"KrE80r/webmin_cve-2019-12840_poc","url":"https://github.com/KrE80r/webmin_cve-2019-12840_poc","stars":8,"created":"2019-11-09"},{"name":"bkaraceylan/CVE-2019-12840_POC","url":"https://github.com/bkaraceylan/CVE-2019-12840_POC","stars":4,"created":"2019-11-05"},{"name":"anasbousselham/webminscan","url":"https://github.com/anasbousselham/webminscan","stars":0,"created":"2020-12-23"},{"name":"zAbuQasem/CVE-2019-12840","url":"https://github.com/zAbuQasem/CVE-2019-12840","stars":0,"created":"2021-03-30"},{"name":"WizzzStark/CVE-2019-12840.py","url":"https://github.com/WizzzStark/CVE-2019-12840.py","stars":0,"created":"2021-10-05"}]},"metasploit":[{"name":"Webmin Package Updates Remote Command Execution","module":"exploit/linux/http/webmin_packageup_rce","type":"exploit","disclosureDate":"2019-05-16","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/webmin_packageup_rce.rb"}],"first":{"date":"2019-05-16","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/webmin_packageup_rce.rb"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/46984","http://packetstormsecurity.com/files/153372/Webmin-1.910-Remote-Command-Execution.html"],"flow":[],"timeline":[{"date":"2019-05-16","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2019-06-11, PoC-in-GitHub 2019-11-05","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/webmin_packageup_rce.rb","provenance":"source"},{"date":"2019-06-15","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2019-12840","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.91,"detail":"percentile 0.9956"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 2 NVD exploit links; 7 PoC-in-GitHub repos; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-cve-2019-12840-family-cve-2019-12840","children":[{"from":"CVE-2019-12840","to":"CVE-2020-35606","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this issue exists because of an incomplete fix for CVE-2019-12840.","from":"CVE.org","in":"CVE-2020-35606"}]}]}}