Live threats

All CVEs / Apache

CVE-2012-0393Apache Struts

Medium 6.4 No auth neededHigh EPSS

Priority
57
CVSS 2.0
6.4
EPSS
36.1%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Jan 8, 2012
Updated
Jun 16, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:N/AC:L/Au:N/C:N/I:P/A:P

What happens

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.

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.3.1.1 2.3.1.1 —

Per OSV / GitHub Advisories (GHSA-hxqq-w4mr-mc62). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachestruts≥ 2.1.0 < 2.3.1.1

Official sources

References

Links published by the sources. Open them with care.