CVE Tools

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.

Check it yourself

Nuclei · 1 templateOpenVAS · 1 check

e.g. Apache Struts <2.3.1.1 - Remote Code Execution · OID 1.3.6.1.4.1.25623.1.0.117663

Run the check

Published Updated Sources: CVE.org, NVD, GitHub

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.

EPSS99th
Public exploit
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.

  1. OpenVAS check added
  2. EPSS band changecritical → high
  3. Patch availablerecord updated
  4. Public exploit / PoCsource: exploit-dbnuclei check added
  5. Publishedweakness classified, att&ck mapped

Affected products

And 1 more affected product. See all after sign-in

Technical detail

AV: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 articles

Watch 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.