CVE-2014-0116Apache Struts
Medium 5.8 No auth needed
Follow: this CVE · Apache · Apache Struts We alert you by email or Slack (account required).
- 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.
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: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)
| Vendor | Product | Versions |
|---|---|---|
| apache | struts | 2.0.0 |
| apache | struts | 2.0.1 |
| apache | struts | 2.0.2 |
| apache | struts | 2.0.3 |
| apache | struts | 2.0.4 |
| apache | struts | 2.0.5 |
| apache | struts | 2.0.6 |
| apache | struts | 2.0.7 |
| apache | struts | 2.0.8 |
| apache | struts | 2.0.9 |
| apache | struts | 2.0.10 |
| apache | struts | 2.0.11 |
| apache | struts | 2.0.11.1 |
| apache | struts | 2.0.11.2 |
| apache | struts | 2.0.12 |
| apache | struts | 2.0.13 |
| apache | struts | 2.0.14 |
| apache | struts | 2.1.0 |
| apache | struts | 2.1.1 |
| apache | struts | 2.1.2 |
| apache | struts | 2.1.3 |
| apache | struts | 2.1.4 |
| apache | struts | 2.1.5 |
| apache | struts | 2.1.6 |
| apache | struts | 2.1.8 |
| apache | struts | 2.1.8.1 |
| apache | struts | 2.2.1 |
| apache | struts | 2.2.1.1 |
| apache | struts | 2.2.3 |
| apache | struts | 2.2.3.1 |
| apache | struts | 2.3.1 |
| apache | struts | 2.3.1.1 |
| apache | struts | 2.3.1.2 |
| apache | struts | 2.3.3 |
| apache | struts | 2.3.4 |
| apache | struts | 2.3.4.1 |
| apache | struts | 2.3.7 |
| apache | struts | 2.3.8 |
| apache | struts | 2.3.12 |
| apache | struts | 2.3.14 |
| apache | struts | 2.3.14.1 |
| apache | struts | 2.3.14.2 |
| apache | struts | 2.3.14.3 |
| apache | struts | 2.3.15 |
| apache | struts | 2.3.15.1 |
| apache | struts | 2.3.15.2 |
| apache | struts | 2.3.15.3 |
| apache | struts | 2.3.16 |
| apache | struts | 2.3.16.1 |
| apache | struts | 2.3.16.2 |
Official sources
References
Links published by the sources. Open them with care.