CVE-2012-0394
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 cha...
CVE-2012-0394 is a code injection in Maven org.apache.struts.xwork:xwork-core (CVSS 6.8, Medium).
Public exploit available. Not confirmed exploited in the wild yet. Fixed in 2.3.18.
Public exploit: 2 sourcesFix2.3.18Upgrade to this build
e.g. Apache Struts <2.3.1.1 - Remote Code Execution · OID 1.3.6.1.4.1.25623.1.0.117663
What to do
Find your product and version, then upgrade to the build on the right.
- Maven org.apache.struts.xwork:xwork-coreAffected: < 2.3.18Upgrade to: 2.3.18Stated by: GitHub advisory
- Apache StrutsAffected: ≥ 2.0.0, ≤ 2.3.17Upgrade to: after 2.3.17Stated by: NVD
Versions as the sources state them. Full version matrix after sign-in
What it is
From the CVE record
Apache Struts's DebuggingInterceptor component allows remote code execution in developer mode
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
2 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
73% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
A public exploit existed 53 days before the patch.
- OpenVAS check added
- EPSS band changecritical → high
- Patch availablerecord updated
- Public exploit / PoCsource: exploit-dbnuclei check added
- Publishedweakness classified, att&ck mapped
Affected products
And 1 more affected product. See all after sign-in
Technical detail
CVSS 2.0 vector
Open in the CVSS calculatorAV:N/AC:M/Au:N/C:P/I:P/A:P
Scored 6.8 by NVD.
How it is reached
- Access Vector NetworkExploitable remotely over the network
- Access Complexity MediumSome conditions must be met
- Authentication NoneNo authentication required
Impact if exploited
- Confidentiality PartialSome information is disclosed
- Integrity PartialSome data can be modified
- Availability PartialReduced performance or service disruption
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
Questions about CVE-2012-0394
- Is CVE-2012-0394 being exploited?
- Not confirmed. Public exploit code exists (2 sources), but CVE-2012-0394 is not in CISA KEV. EPSS puts the chance of exploitation in the next 30 days at 73%.
- Which versions are affected by CVE-2012-0394?
- Org.apache.struts.xwork:xwork-core: < 2.3.18. Struts: ≥ 2.0.0, ≤ 2.3.17.
- How do I fix or mitigate CVE-2012-0394?
- Upgrade to 2.3.18 or later.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Maven, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI