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.
CVE-2012-2982
- High exploitation likelihood — EPSS 62%
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- —
- EG Score
- 0.0(none)
- EPSS
- 99.1%
- KEV
- Not listed
Published
September 11, 2012
Last Modified
April 29, 2026
References (12)
- cret@certhttp://americaninfosec.com/research/index.html
- cret@certhttp://www.americaninfosec.com/research/dossiers/AISG-12-001.pdf
- cret@certhttp://www.kb.cert.org/vuls/id/788478
- cret@certhttp://www.securitytracker.com/id?1027507
- cret@certhttp://www.xerox.com/download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf
- cret@certhttps://github.com/webmin/webmin/commit/1f1411fe7404ec3ac03e803cfa7e01515e71a213
- af854a3a-2127-422b-91ae-364da2661108http://americaninfosec.com/research/index.html
- af854a3a-2127-422b-91ae-364da2661108http://www.americaninfosec.com/research/dossiers/AISG-12-001.pdf
- af854a3a-2127-422b-91ae-364da2661108http://www.kb.cert.org/vuls/id/788478
- af854a3a-2127-422b-91ae-364da2661108http://www.securitytracker.com/id?1027507
- af854a3a-2127-422b-91ae-364da2661108http://www.xerox.com/download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf
- af854a3a-2127-422b-91ae-364da2661108https://github.com/webmin/webmin/commit/1f1411fe7404ec3ac03e803cfa7e01515e71a213
Data Freshness Timeline
(refreshed 3× in last 7d / 23× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-05 02:26 UTCEPSS rescore
- 2026-07-02 14:01 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-29 14:02 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:46 UTCEPSS rescore
- 2026-06-25 13:46 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-21 01:56 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-16 17:49 UTCEPSS rescore
- 2026-06-15 17:44 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-11 13:56 UTCEPSS rescore
- 2026-06-10 22:14 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
Show 30 moreShow fewer
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:09 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 02:50 UTCEG score recompute
- 2026-05-29 02:50 UTCGHSA enrichment
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-24 16:43 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Publicly available exploits
(6 references)Working exploit code is in the public domain (1 Metasploit module) (4 GitHub PoCs) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoC0xTas/CVE-2012-2982First seen Dec 15, 2022
An exploit for CVE-2012-2982 implemented in Rust
Open source ↗ - GitHub PoCJohnHammond/CVE-2012-2982First seen Sep 4, 2021
A Python replicated exploit for Webmin 1.580 /file/show.cgi Remote Code Execution
Open source ↗ - GitHub PoCOstojaOfficial/CVE-2012-2982First seen Oct 25, 2020
Python exploit for CVE-2012-2982
Open source ↗ - GitHub PoCcd6629/CVE-2012-2982-Python-PoCFirst seen Aug 5, 2020
This was converted from a metasploit module as an exercise for OSCP studying
Open source ↗ - Exploit-DBEDB-21851✓ verifiedFirst seen Oct 10, 2012
Webmin 1.580 - '/file/show.cgi' Remote Command Execution (Metasploit)
Open source ↗ - Metasploitexploit/unix/webapp/webmin_show_cgi_exec✓ verifiedFirst seen Sep 6, 2012
Webmin /file/show.cgi Remote Command Execution
Open source ↗
Frequently asked(4)
What is CVE-2012-2982?
When was CVE-2012-2982 disclosed?
Is CVE-2012-2982 actively exploited?
How do I remediate CVE-2012-2982?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2012-2982
Is Your Infrastructure Affected by CVE-2012-2982?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.