CVE-2012-0392Apache Struts
Medium 6.8 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Struts We alert you by email or Slack (account required).
- Priority
- 66
- CVSS 2.0
- 6.8
- EPSS
- 97.5% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- Published
- Jan 8, 2012
- Updated
- Jun 16, 2026
- Category
- Server · Cross-platform
- Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
What happens
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.
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.2.3.1 |
2.2.3.1 |
— |
Per OSV / GitHub Advisories (GHSA-2ppp-xj34-vvf7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | struts | ≥ 2.0.0 < 2.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- archives.neohapsis.com Broken Link
- secunia.com Third Party Advisory
- struts.apache.org Vendor Advisory
- struts.apache.org Release Notes Vendor Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- lists.immunityinc.com Exploit Third Party Advisory
- www.sec-consult.com Broken Link