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
This CVE was only ever scored under CVSS v2.0. NVD CVSS v2.0 base 6.5 — v2 rates that MEDIUM (v2 bands: LOW 0.0–3.9 / MEDIUM 4.0–6.9 / HIGH 7.0–10.0; v2 has no CRITICAL band). Vector AV:N/AC:L/Au:S/C:P/I:P/A:P. CVSS v2 is an older, coarser metric than v3.1/v4.0 (no Scope, no User Interaction, no Attack Requirements), so it is not directly comparable to a v3 or v4 score. NVD has never re-scored this record under v3. EPSS predicts 62.2% exploitation probability in the next 30 days, which is reflected in EG Risk but does not lift the v2 base. Confidence: LOW.
- High exploitation likelihood — EPSS 62%
- Public exploit code is available (Metasploit, Exploit-DB (verified), epss top5pct, epss high, public exploit)
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v2.0 (legacy)
- 6.5MEDIUMNVD never assigned a CVSS v3 rating to this CVE
- EG Score
- 6.5(low)
- EG Risk
- 60(Track)EG Risk 60/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity65% × 45%Exploitation65% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 62%
- EPSS %ILE
- 99%
- 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 2× in last 7d / 9× 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-08-26 14:40 UTCEPSS rescore
- 2026-08-21 23:43 UTCEPSS rescore
- 2026-08-19 16:59 UTCEPSS rescore
- 2026-08-16 02:09 UTCEPSS rescore
- 2026-08-15 01:25 UTCEPSS rescore
- 2026-08-08 16:31 UTCEPSS rescore
- 2026-08-06 13:41 UTCEPSS rescore
- 2026-08-05 19:12 UTCEPSS rescore
- 2026-07-30 01:26 UTCEPSS rescore
- 2026-07-28 15:31 UTCEPSS rescore
- 2026-07-26 13:45 UTCEG score recompute▲ 6.50
- 2026-07-25 14:12 UTCEPSS rescore
- 2026-07-23 14:14 UTCEPSS rescore
- 2026-07-23 01:07 UTCEG score recompute▼ 5.30
- 2026-07-23 00:11 UTCEG score recompute▲ 5.30
- 2026-07-22 21:49 UTCEG score recompute
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-20 17:03 UTCEPSS rescore
- 2026-07-20 17:03 UTCEPSS rescore
- 2026-07-19 14:27 UTCEPSS rescore
- 2026-07-18 10:00 UTCEPSS rescore
- 2026-07-16 16:58 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
Show 62 moreShow fewer
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-13 22:25 UTCEPSS rescore
- 2026-07-11 08:22 UTCEPSS rescore
- 2026-07-09 19:05 UTCEPSS rescore
- 2026-07-08 15:10 UTCEPSS rescore
- 2026-07-08 15:10 UTCEPSS rescore
- 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
- 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.