CVE-2012-0393Apache Struts
Medium 6.4 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Struts We alert you by email or Slack (account required).
- Priority
- 57
- CVSS 2.0
- 6.4
- EPSS
- 36.1% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Jan 8, 2012
- Updated
- Jun 16, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-264
- Vector
AV:N/AC:L/Au:N/C:N/I:P/A:P
What happens
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.
What to do
- Apply the vendor's security update for Struts.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.struts.xwork:xwork-core |
< 2.2.3.1 |
2.2.3.1 |
— |
| Maven | org.apache.struts:struts2-core |
< 2.3.1.1 |
2.3.1.1 |
— |
Per OSV / GitHub Advisories (GHSA-hxqq-w4mr-mc62). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | struts | ≥ 2.1.0 < 2.3.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- archives.neohapsis.com Exploit Third Party Advisory
- secunia.com Third Party Advisory
- struts.apache.org Vendor Advisory
- struts.apache.org Vendor Advisory
- www.exploit-db.com Exploit Third Party Advisory
- www.sec-consult.com Exploit Third Party Advisory