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 productsnot 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
- First public exploit (EDB-18329)
- 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
-
github.com
/apache/struts/commit/25e50069d60434a30395e3a98357ffba2bed427e
web
-
github.com
/apache/struts/commit/9cad25f258bb2629d263f828574d2671366c238d
web
-
exploit-db.com
/exploits/18329
exploit, web, third-party-advisory
-
archives.neohapsis.com
/archives/bugtraq/2012-01/0031.html
mailing-list, web, exploit, third-party-advisory
-
sec-consult.com
/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt
exploit, third-party-advisory
-
struts.apache.org
/2.x/docs/version-notes-2311.html
web, vendor-advisory
-
struts.apache.org
/2.x/docs/s2-008.html
web, vendor-advisory
-
secunia.com
/advisories/47393
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2012-0393
advisory
-
github.com
/apache/struts
package
-
web.archive.org
/web/20120612142634/https://sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.
web
-
web.archive.org
/web/20140723153720/http://secunia.com/advisories/47393
web
Sources
- CVE List CVE-2012-0393
- GitHub Advisory GHSA-hxqq-w4mr-mc62
- NVD CVE-2012-0393
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.