6.8

CVE-2012-0394: apache struts Improper Control of Generation of Code

Modified
AliasesGHSA-hmvj-gc9q-mg9p
Published 08-01-2012Last modified 06-08-2024

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.

Priority
Prioritiseweaponized exploit

Weaponized exploit (exploit-database, 05-02-2014)

Source freshness unavailable

How is this decided?
CVSS score
6.8/10
010
Medium · v2.0 (NVD)
EPSS score
72.71%
0%100%
Critical · -0.19 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits3exploit-database, metasploit

Timeline

  1. 08-01-2012
    PublishedVulnerability first disclosed.
  2. 06-08-2024
    Last 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 version

EPSS 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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

3 found
  • exploit-databaseremotejspVerified

    Apache Struts - Developer Mode OGNL Execution (Metasploit)

    Maturity: weaponized

  • exploit-databasemultipleVerified

    Apache Struts 2 < 2.3.1 - Multiple Vulnerabilities

    Maturity: poc

  • MetasploitMetasploitremoteVerified

    Apache Struts 2 Developer Mode OGNL Execution

    exploit/multi/http/struts_dev_mode

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication (CVSS vector). Other conditions: not stated in public data.

Apache1 product
Org.apache.struts.xwork1 product
  • xwork-core< 2.3.18

2 vendors · 2 products

References

12 links
Show all 12 references