Skip to content
Fencer Intel
medium 6.4

CVE-2012-0393 json

Apache Struts's ParameterInterceptor component does not prevent access to public constructors

published 2012-01-08 14 y ago modified 2026-06-16 4 mo ago also GHSA-hxqq-w4mr-mc62 , EUVD-2022-4247

cvss
6.4
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
36.3%
EPSS 36.3% chance of exploitation in 30 days, percentile 98%
public exploits
1
Exploit-DB

Summary

The ParameterInterceptor component in Apache Struts before 2.3.1.1 does not prevent access to public constructors, which allows remote attackers to create or overwrite arbitrary files via a crafted parameter that triggers the creation of a Java object.

Patch / fix

  • maven org.apache.struts:struts2-core 2.3.1.1
  • maven org.apache.struts.xwork:xwork-core 2.2.3.1
  • apache struts 2.3.1.1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-0393 updated cvss 5.0

struts: remote creation or overwrite of arbitrary files due ParamterInterceptor not preventing access to public constructors

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (EDB-18329)
  2. Published

Exploit prediction

36.32% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • EDB-18329 Apache Struts 2 < 2.3.1 - Multiple Vulnerabilities webapps, 2012-01-06
  • archives.neohapsis.com http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.html referenced PoC, tagged "exploit" by a source, unverified
  • sec-consult.com https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 6.4 AV:N/AC:L/Au:N/C:N/I:P/A:P

Affected packages

ecosystem package affected fixed in
maven org.apache.struts:struts2-core
<2.3.1.1
2.3.1.1
maven org.apache.struts.xwork:xwork-core
<2.2.3.1
2.2.3.1

Classification

Weakness
  • CWE-264 Permissions, Privileges, and Access Controls

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.