Live threats

All CVEs / Apache

CVE-2012-0392Apache Struts

Medium 6.8 No auth neededHigh EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Struts.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
apachestruts≥ 2.0.0 < 2.3.1

Official sources

References

Links published by the sources. Open them with care.