CVE-2012-2983: Arbitrary File Read in Webmin edit_html.cgi
- Vendor
- Gentoo
CVE-2012-2983 is an arbitrary file read vulnerability in file/edit_html.cgi in Webmin 1.590 and earlier. The CGI script does not perform a required authorization check before displaying a file's unedited contents. An attacker can supply a crafted file parameter to cause the application to return the contents of arbitrary files. Available context also characterizes the issue as a directory traversal flaw that allows viewing any file as user root, indicating the file access is not properly restricted to an intended directory or authorized resource set.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a remote attacker to read arbitrary files accessible to the Webmin process, including files readable as root in affected deployments. This can expose sensitive system and application data such as configuration files, credentials, keys, and other privileged information, which may facilitate further compromise.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the Webmin interface to trusted hosts and administrative networks only. Limit exposure of Webmin over the Internet, enforce strong authentication, and reduce the chance of attacker access from untrusted locations. Network-level access controls can materially reduce exploitability while patching is pending.
Remediation
Patch, then assume compromise.
Upgrade Webmin to a fixed release later than 1.590 that includes the vendor patch for CVE-2012-2983. The referenced fix is Webmin commit 4cd7bad70e23e4e19be8ccf7b9f245445b2b3b80. If immediate upgrade is not possible, apply the vendor patch from the Webmin development branch addressing this CVE.
Exploits
1 exploit validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2012-2983 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2012-2983 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2012-2983?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2012-2983, the earliest disclosed Sep 6, 2012.
- Is there a patch for CVE-2012-2983?
- Upgrade Webmin to a fixed release later than 1.590 that includes the vendor patch for CVE-2012-2983. The referenced fix is Webmin commit 4cd7bad70e23e4e19be8ccf7b9f245445b2b3b80.
- What products are affected by CVE-2012-2983?
- Gentoo Webmin.
- How severe is CVE-2012-2983?
- CVE-2012-2983 has a CVSS v2 score of 5.0 (Medium) and an EPSS score of 20.5% (98th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.