{"id":"CVE-2012-2982","published":"2012-09-11T18:00:00Z","modified":"2024-08-06T19:50:05Z","title":"file/show.cgi in Webmin 1.590 and earlier allows remote authenticated users to execute arbitrary commands via an…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"file/show.cgi in Webmin 1.590 and earlier allows remote authenticated users to execute arbitrary commands via an invalid character in a pathname, as demonstrated by a | (pipe) character.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw lies in file/show.cgi in Webmin, affecting version 1.590 and earlier. The component fails to properly handle invalid characters in a pathname, which allows command injection. An attacker with valid credentials for the application can run arbitrary commands by supplying a pathname containing a pipe character, and must be able to reach the Webmin interface over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:21:41Z"},"cvss":null,"epss":{"score":0.61925,"percentile":0.9918,"date":"2026-11-06","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"http://www.americaninfosec.com/research/dossiers/AISG-12-001.pdf","tags":["x_refsource_MISC"]},{"url":"http://www.kb.cert.org/vuls/id/788478","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"https://github.com/webmin/webmin/commit/1f1411fe7404ec3ac03e803cfa7e01515e71a213","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id?1027507","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://americaninfosec.com/research/index.html","tags":["x_refsource_MISC"]},{"url":"http://www.xerox.com/download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf","tags":["x_refsource_CONFIRM"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2012-2960","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2012-2960","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":21851,"url":"https://www.exploit-db.com/exploits/21851","title":"Webmin 1.580 - '/file/show.cgi' Remote Command Execution (Metasploit)","type":"remote","platform":"unix","date":"2012-10-10","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2012-10-10"},"pocGithub":{"count":13,"skipped":5,"earliest":"2020-08-05","earliestUrl":"https://github.com/cd6629/CVE-2012-2982-Python-PoC","repos":[{"name":"JohnHammond/CVE-2012-2982","url":"https://github.com/JohnHammond/CVE-2012-2982","stars":43,"created":"2021-09-04"},{"name":"cd6629/CVE-2012-2982-Python-PoC","url":"https://github.com/cd6629/CVE-2012-2982-Python-PoC","stars":5,"created":"2020-08-05"},{"name":"0xTas/CVE-2012-2982","url":"https://github.com/0xTas/CVE-2012-2982","stars":3,"created":"2022-12-15"},{"name":"OstojaOfficial/CVE-2012-2982","url":"https://github.com/OstojaOfficial/CVE-2012-2982","stars":2,"created":"2020-10-25"},{"name":"Gvmyz/CVE-2012-2982_Python","url":"https://github.com/Gvmyz/CVE-2012-2982_Python","stars":1,"created":"2021-03-18"}]},"metasploit":[{"name":"Webmin /file/show.cgi Remote Command Execution","module":"exploit/unix/webapp/webmin_show_cgi_exec","type":"exploit","disclosureDate":"2012-09-06","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/webmin_show_cgi_exec.rb"}],"first":{"date":"2012-09-06","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/webmin_show_cgi_exec.rb"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2012-09-06","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2012-10-10, PoC-in-GitHub 2020-08-05","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/webmin_show_cgi_exec.rb","provenance":"source"},{"date":"2012-09-11","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2012-2982","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":24.8,"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.84,"detail":"percentile 0.9918"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 13 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"}]}}