Vulnerability record · CVE-2013-2115 · published 10 July 2013
CVE-2013-2115: Apache Struts 2 OGNL code injection via includeParams attribute
Apache · Struts
Apache Struts 2 before 2.3.14.2 does not properly handle the includeParams attribute in the URL or A tag, allowing remote attackers to execute arbitrary OGNL code through a crafted request. The flaw is an incomplete fix for CVE-2013-1966, so the earlier patch does not fully close the injection path. It matters because it enables unauthenticated remote code execution on a widely deployed web framework.
Description
Apache Struts 2 before 2.3.14.2 allows remote attackers to execute arbitrary OGNL code via a crafted request that is not properly handled when using the includeParams attribute in the (1) URL or (2) A tag. NOTE: this issue is due to an incomplete fix for CVE-2013-1966.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
high priorityUnauthenticated remote code execution with a very high EPSS score, though not confirmed in KEV and requiring a specific tag configuration.
What it is
Apache Struts 2 before 2.3.14.2 does not properly handle the includeParams attribute in the URL or A tag, allowing remote attackers to execute arbitrary OGNL code through a crafted request. The flaw is an incomplete fix for CVE-2013-1966, so the earlier patch does not fully close the injection path. It matters because it enables unauthenticated remote code execution on a widely deployed web framework.
Impact
An attacker can execute arbitrary OGNL code in the context of the Struts application, leading to full server-side code execution and compromise of the host. This can expose data, allow persistence, and pivot into the surrounding network.
Attack surface
Reached over the network via HTTP requests to a Struts 2 application that uses the includeParams attribute in URL or A tags; the CVSS vector shows no privileges required and no user interaction. No authentication is needed per the vector.
Exploitation
Not listed in CISA KEV, but EPSS is 0.74636 (99.475th percentile), indicating a high modeled likelihood of exploitation. References are vendor advisories and issue tracking only, with no public exploit tag supplied.
What to do
- Upgrade Apache Struts 2 to 2.3.14.2 or later, which contains the complete fix for this issue.
- If immediate upgrade is not possible, remove or avoid use of the includeParams attribute in URL and A tags in application code.
- Apply input validation and block OGNL expression characters in request parameters reaching Struts tags.
- Place the application behind a WAF with rules targeting OGNL injection patterns in request parameters.
- Review for prior CVE-2013-1966 mitigations and confirm they are superseded by the 2.3.14.2 fix.
Detection
- Search web and application logs for requests containing OGNL expression syntax such as %{ or ${ in parameters tied to URL or A tags.
- Monitor for unexpected child processes or outbound connections spawned by the Java application server.
- Alert on anomalous HTTP requests to Struts action endpoints with unusual parameter names or encoded payloads.
- Audit deployed Struts versions and flag any instance below 2.3.14.2.
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://struts.apache.org/development/2.x/docs/s2-014.html | Vendor Advisory |
| http://www.securityfocus.com/bid/60167 | Third Party AdvisoryVDB Entry |
| https://bugzilla.redhat.com/show_bug.cgi?id=967656 | Issue Tracking |
| https://cwiki.apache.org/confluence/display/WW/S2-014 | Vendor Advisory |
| http://struts.apache.org/development/2.x/docs/s2-014.html | Vendor Advisory |
| http://www.securityfocus.com/bid/60167 | Third Party AdvisoryVDB Entry |
| https://bugzilla.redhat.com/show_bug.cgi?id=967656 | Issue Tracking |
| https://cwiki.apache.org/confluence/display/WW/S2-014 | Vendor Advisory |
Track CVE-2013-2115 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-2013-2115), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.