← Vulnerability feed

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.

7.5 CVSS 2.0 High EPSS 78% · top 0.4% CWE-264 · Permissions and access controls
7.5CVSS 2.0 base score
78%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
10References
17 Jun 2026Last modified by NVD

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

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: medium.

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

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.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-17530Apache Struts forced OGNL evaluation enables remote code executionApache Struts 2.0.0 through 2.5.25 performs forced OGNL evaluation on raw user input placed in tag attributes, allowing expression language injection…KEVEPSS 96%analysed9.8CVE-2017-9791Apache Struts 1 plugin input validation flaw enables remote code executionThe Struts 1 plugin in Apache Struts 2.1.x and 2.3.x may allow remote code execution when a malicious field value is passed in a raw message to the A…KEVEPSS 99%analysed9.8CVE-2017-5638Apache Struts 2 Jakarta Multipart parser remote code executionThe Jakarta Multipart parser in Apache Struts 2 mishandles exceptions and error messages during file-upload attempts, letting a crafted Content-Type,…KEVEPSS 100%analysed9.8CVE-2013-2251Apache Struts 2 OGNL injection enables remote code executionApache Struts 2.0.0 through 2.3.15 fails to properly validate request parameters, allowing crafted action:, redirect:, or redirectAction: prefixes to…KEVEPSS 100%analysed9.8CVE-2012-0391Apache Struts ExceptionDelegator OGNL injection enables remote code executionApache Struts before 2.2.3.1 evaluates parameter values as OGNL expressions in the ExceptionDelegator component during exception handling for mismatc…KEVEPSS 76%analysed8.1CVE-2018-11776Apache Struts namespace handling flaw enables remote code executionApache Struts 2.3 through 2.3.34 and 2.5 through 2.5.16 can execute remote code when alwaysSelectFullNamespace is enabled and results or url tags are…KEVEPSS 100%analysed8.1CVE-2017-9805Apache Struts REST Plugin XStream deserialization RCEThe REST Plugin in Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13 uses an XStreamHandler with an XStream instance for deseri…KEVEPSS 99%analysed7.5CVE-2006-1547Apache Struts 1 ActionForm multipart parameter denial of serviceApache Struts before 1.2.9 with BeanUtils 1.7 exposes the public getMultipartRequestHandler method through ActionForm parameter binding. A remote att…KEVEPSS 55%analysed

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.