CVE-2012-0392Struts Vulnerability
Apache Struts's CookieInterceptor component does not use the parameter-name whitelist
Published Jan 8, 2012 · Updated Dec 5, 2024 · Also known as GHSA-2ppp-xj34-vvf7
Key Facts
Patch immediately- CVE-2012-0392 is a medium-severity vulnerability (CVSS 6.8 v2) affecting Struts (Apache), org.apache.struts:struts2-core (maven), org.apache.struts.xwork:xwork-core (maven).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 98% probability of exploitation in the next 30 days.
- Fixed versions are available, including Struts 2.3.1, org.apache.struts:struts2-core 2.2.3.1, org.apache.struts.xwork:xwork-core 2.2.3.1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v2
6.8
AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS (30-day exploit likelihood)
98%
Higher than 99.8% of all scored CVEs
Exploit maturity
Proof of concept
ATLAS score
52/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
The CookieInterceptor component in Apache Struts before 2.3.1.1 does not use the parameter-name whitelist, which allows remote attackers to execute arbitrary commands via a crafted HTTP Cookie header that triggers Java code execution through a static method.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| StrutsApache | See advisory | 2.3.1 |
| org.apache.struts:struts2-coremaven | See advisory | 2.2.3.1 |
| org.apache.struts.xwork:xwork-coremaven | See advisory | 2.2.3.1 |
Patched Releases
Struts
2.3.1
org.apache.struts:struts2-core
2.2.3.1
org.apache.struts.xwork:xwork-core
2.2.3.1
Timeline
Publicly disclosed
Jan 8, 2012
Last updated
Dec 5, 2024
References
- advisorynvd.nist.gov · CVE-2012-0392
- advisory47393
- advisoryGHSA advisory
- advisoryweb.archive.org · 47393
- exploitExploitDB-18329
FAQ
Common Questions.
The CookieInterceptor component in Apache Struts before 2.3.1.1 does not use the parameter-name whitelist, which allows remote attackers to execute arbitrary commands via a crafted HTTP Cookie header that triggers Java code execution through a static method.
Affected: Struts (Apache); org.apache.struts:struts2-core (maven); org.apache.struts.xwork:xwork-core (maven). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Struts 2.3.1, org.apache.struts:struts2-core 2.2.3.1, org.apache.struts.xwork:xwork-core 2.2.3.1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2012-0392 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo