Skip to content
Vulnerability Intelligence

CVE-2012-0394

MediumPublic exploit

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

Published May 4, 2022 · 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.

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

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2012-0394 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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

    May 4, 2022

  2. Last updated

    Dec 3, 2024

Weakness Type

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

References

11 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2012-0394 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo