Skip to content
Emerging threatsMedium

CVE-2012-0394Struts Code Injection

Apache Struts's DebuggingInterceptor component allows remote code execution in developer mode

Published Jan 8, 2012 · Updated Dec 3, 2024 · Also known as GHSA-hmvj-gc9q-mg9p

Key Facts

Patch immediately
  • CVE-2012-0394 is a medium-severity vulnerability (CVSS 6.8 v2) affecting Struts (Apache), org.apache.struts.xwork:xwork-core (maven).
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 73% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Struts 2.3.17, org.apache.struts.xwork:xwork-core 2.3.18.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

Scores

CVSS v2

6.8

AV:N/AC:M/Au:N/C:P/I:P/A:P

EPSS (30-day exploit likelihood)

73%

Higher than 99.4% of all scored CVEs

Exploit maturity

Weaponized

ATLAS score

60/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Weaponized

Public exploit code

3

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

Advisories And Exploit References

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.

Affected Products

2 affected entries in total
ProductAffected versionsFixed in
StrutsApacheSee advisory2.3.17
org.apache.struts.xwork:xwork-coremavenSee advisory2.3.18

Patched Releases

Struts

2.3.17

org.apache.struts.xwork:xwork-core

2.3.18

Timeline

  1. Publicly disclosed

    Jan 8, 2012

  2. Last updated

    Dec 3, 2024

Weakness Type

  • CWE-94 Improper Control of Generation of Code

References

12 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2012-0394 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.