Vulnerability record · CVE-2014-0113 · published 29 April 2014
CVE-2014-0113: Apache Struts CookieInterceptor wildcard ClassLoader code execution
Apache · Struts
CookieInterceptor in Apache Struts before 2.3.20 fails to restrict access to the getClass method when a wildcard cookiesName value is configured, allowing remote attackers to manipulate the ClassLoader and execute arbitrary code via a crafted request. It is an incomplete fix for CVE-2014-0094, so the earlier patch does not fully close the underlying access-control gap.
Description
CookieInterceptor in Apache Struts 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 execute arbitrary code via a crafted request. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-0094.
AV:N/AC:L/Au:N/C:P/I:P/A:P
Automated analysis
high priorityRemote unauthenticated code execution with a high EPSS score and a known patch, though not listed in KEV.
What it is
CookieInterceptor in Apache Struts before 2.3.20 fails to restrict access to the getClass method when a wildcard cookiesName value is configured, allowing remote attackers to manipulate the ClassLoader and execute arbitrary code via a crafted request. It is an incomplete fix for CVE-2014-0094, so the earlier patch does not fully close the underlying access-control gap.
Impact
An unauthenticated remote attacker can manipulate the ClassLoader and execute arbitrary code in the context of the Struts application, potentially leading to full server compromise.
Attack surface
Reachable over the network via HTTP requests to a Struts application that uses a wildcard cookiesName value; no authentication or user interaction is required per the AV:N/AC:L/Au:N vector.
Exploitation
Not listed in CISA KEV and no ransomware associations are documented; EPSS is high (0.7783, 99.5th percentile), and the vendor advisory is tagged Patch, indicating a fix is available but exploitation is plausible.
What to do
- Upgrade Apache Struts to 2.3.20 or later, which contains the complete fix for CVE-2014-0094 and this bypass.
- Avoid wildcard cookiesName values in CookieInterceptor configuration; use explicit, minimal cookie name lists.
- Apply vendor patches for downstream products (IBM, Oracle) that bundle affected Struts versions.
- If immediate upgrade is not possible, restrict or block untrusted HTTP requests that attempt to reach CookieInterceptor-exposed parameters.
- Review and harden Struts configuration to limit exposure of internal class and ClassLoader methods.
Detection
- Monitor HTTP requests for parameters or cookie names that reference getClass or ClassLoader patterns.
- Alert on anomalous cookie handling in Struts applications, especially requests with unexpected wildcard-matched cookie names.
- Correlate web logs with process or file-integrity events that indicate code execution following suspicious requests.
- Track Struts versions in use and flag any instance below 2.3.20 for remediation.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://secunia.com/advisories/59178 | Permissions Required |
| http://www-01.ibm.com/support/docview.wss?uid=swg21676706 | Third Party Advisory |
| http://www.oracle.com/technetwork/topics/security/cpuapr2015-2365600.html | Third Party Advisory |
| http://www.securityfocus.com/archive/1/531952/100/0/threaded | Third Party AdvisoryVDB Entry |
| https://cwiki.apache.org/confluence/display/WW/S2-021 | PatchVendor Advisory |
| http://secunia.com/advisories/59178 | Permissions Required |
| http://www-01.ibm.com/support/docview.wss?uid=swg21676706 | Third Party Advisory |
| http://www.oracle.com/technetwork/topics/security/cpuapr2015-2365600.html | Third Party Advisory |
| http://www.securityfocus.com/archive/1/531952/100/0/threaded | Third Party AdvisoryVDB Entry |
| https://cwiki.apache.org/confluence/display/WW/S2-021 | PatchVendor Advisory |
Track CVE-2014-0113 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2014-0113), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.