Live threats

All CVEs / Apache

CVE-2014-0116Apache Struts

Medium 5.8 No auth needed

Priority
50
CVSS 2.0
5.8
EPSS
6.5%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
May 8, 2014
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-264
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:P

What happens

CookieInterceptor in Apache Struts 2.x before 2.3.20, when a wildcard cookiesName value is used, does not properly restrict access to the getClass method, which allows remote attackers to "manipulate" the ClassLoader and modify session state via a crafted request. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-0113.

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:struts2-core < 2.3.20 2.3.20 —

Per OSV / GitHub Advisories (GHSA-hmhq-382q-mp56). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachestruts2.0.0
apachestruts2.0.1
apachestruts2.0.2
apachestruts2.0.3
apachestruts2.0.4
apachestruts2.0.5
apachestruts2.0.6
apachestruts2.0.7
apachestruts2.0.8
apachestruts2.0.9
apachestruts2.0.10
apachestruts2.0.11
apachestruts2.0.11.1
apachestruts2.0.11.2
apachestruts2.0.12
apachestruts2.0.13
apachestruts2.0.14
apachestruts2.1.0
apachestruts2.1.1
apachestruts2.1.2
apachestruts2.1.3
apachestruts2.1.4
apachestruts2.1.5
apachestruts2.1.6
apachestruts2.1.8
apachestruts2.1.8.1
apachestruts2.2.1
apachestruts2.2.1.1
apachestruts2.2.3
apachestruts2.2.3.1
apachestruts2.3.1
apachestruts2.3.1.1
apachestruts2.3.1.2
apachestruts2.3.3
apachestruts2.3.4
apachestruts2.3.4.1
apachestruts2.3.7
apachestruts2.3.8
apachestruts2.3.12
apachestruts2.3.14
apachestruts2.3.14.1
apachestruts2.3.14.2
apachestruts2.3.14.3
apachestruts2.3.15
apachestruts2.3.15.1
apachestruts2.3.15.2
apachestruts2.3.15.3
apachestruts2.3.16
apachestruts2.3.16.1
apachestruts2.3.16.2

Official sources

References

Links published by the sources. Open them with care.