CVE-2012-0394
The DebuggingInterceptor component in Apache Struts before 2.3.1.1, when developer mode is used, allows remote attackers to execute…
- 6.8MediumCVSS base score
- 72.9%Exploitation in 30 daysEPSS · top 0.5% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 4Public exploitsMetasploit, Nuclei and Exploit-DB
Description
The DebuggingInterceptor component in Apache Struts before 2.3.1.1, when developer mode is used, allows remote attackers to execute arbitrary commands via unspecified vectors. NOTE: the vendor characterizes this behavior as not "a security vulnerability itself.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module, a Nuclei template and 2 Exploit-DB entries for it. 2 references of the record are tagged as an exploit.
Show the exploits6
Metasploit modules1 module
- Apache Struts 2 Developer Mode OGNL Execution (Metasploit module) (opens in a new tab)
exploit/multi/http/struts_dev_modeRank excellentdisclosed 6 Jan 2012
Nuclei templates1 template
- Apache Struts <2.3.1.1 - Remote Code Execution (Nuclei template) (opens in a new tab)
http/cves/2012/CVE-2012-0394.yamlSeverity medium
Exploit-DB2 entries
- Apache Struts - Developer Mode OGNL Execution (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 31434remote, javapublished 5 Feb 2014Verified
- Apache Struts 2 < 2.3.1 - Multiple Vulnerabilities (Exploit-DB entry) (opens in a new tab)
EDB-ID 18329webapps, multiplepublished 6 Jan 2012Verified
References tagged exploit2 references
- 18329 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 31434 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
Published
- 13 years later
· 13 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 72.9% · top 0.5% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.8.
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.struts.xwork:xwork-coreGHSA-hmvj-gc9q-mg9p (opens in a new tab)
References
7
- http://struts.apache.org/2.x/docs/version-notes-2311.html (opens in a new tab)x_refsource_MISCx_transferred
- http://struts.apache.org/2.x/docs/s2-008.html (opens in a new tab)x_refsource_MISCx_transferred
- 18329 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 20120105 SEC Consult SA-20120104-0 :: Multiple critical vulnerabilities in Apache Struts2 (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 31434 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt (opens in a new tab)x_refsource_MISCx_transferred
- 78276 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-4179 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hmvj-gc9q-mg9p (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2012-0394)Record last updated .