CVE-2012-0393
struts: remote creation or overwrite of arbitrary files due ParamterInterceptor not preventing access to public constructors
Overview
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.
Source: OX vulnerability database
Severity
6.4 · MEDIUM
CVSS 2.0 base score, scored by NVD.
- Access vector
- Network
- Access complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- Partial
AV:N/AC:L/Au:N/C:N/I:P/A:P
Weakness: CWE-264
Affected packages · 2
| Ecosystem | Package | Vulnerable | 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 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- archives.neohapsis.com http://archives.neohapsis.com/archives/bugtraq/2012-01/0031.html
- secunia.com http://secunia.com/advisories/47393
- struts.apache.org http://struts.apache.org/2.x/docs/s2-008.html
- struts.apache.org http://struts.apache.org/2.x/docs/version-notes-2311.html
- www.exploit-db.com http://www.exploit-db.com/exploits/18329
- access.redhat.com https://access.redhat.com/security/cve/CVE-2012-0393
- github.com https://github.com/apache/struts
- github.com https://github.com/apache/struts/commit/25e50069d60434a30395e3a98357ffba2bed427e
- github.com https://github.com/apache/struts/commit/9cad25f258bb2629d263f828574d2671366c238d
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2012-0393
Show all 14 references
- web.archive.org https://web.archive.org/web/20120612142634/https://sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt
- web.archive.org https://web.archive.org/web/20140723153720/http://secunia.com/advisories/47393
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2012-0393
- www.sec-consult.com https://www.sec-consult.com/files/20120104-0_Apache_Struts2_Multiple_Critical_Vulnerabilities.txt
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.