CVE-2012-0394: apache struts Improper Control of Generation of Code
Vulnerability summary
CVE-2012-0394 is a medium (CVSS 6.8) Improper Control of Generation of Code vulnerability in apache struts. EPSS estimates a 72.71% chance of exploitation in the next 30 days, higher than 99.4% of scored vulnerabilities. 3 public exploits are recorded.
Weaponized exploit (exploit-database, 05-02-2014)
Source freshness unavailable
How is this decided?Timeline
- 08-01-2012PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
72.71%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
Decrease -0.19 pp
From 72.90% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
3 foundApache Struts - Developer Mode OGNL Execution (Metasploit)
Maturity: weaponized
Apache Struts 2 < 2.3.1 - Multiple Vulnerabilities
Maturity: poc
Apache Struts 2 Developer Mode OGNL Execution
exploit/multi/http/struts_dev_mode
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication (CVSS vector). Other conditions: not stated in public data.
Apache1 product
- struts≥ 2.0.0, ≤ 2.3.17
Org.apache.struts.xwork1 product
- xwork-core< 2.3.18
2 vendors · 2 products
References
12 links- archives.neohapsis.com/archives/bugtraq/2012-01/0031.htmlMailing ListX Refsource BUGTRAQBroken LinkWEB
- www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txtX Refsource MISCBroken LinkWEB
Show all 12 references
- github.com/apache/strutsPACKAGE