CVE-2013-2248:
Open redirect in Apache Struts
5.8
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
5/17/2022
Updated
12/28/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
AV:N/AC:M/Au:N/C:P/I:P/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.struts:struts2-core | maven | < 2.3.15.1 | 2.3.15.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from how DefaultActionMapper handled parameters prefixed with 'redirect:' or 'redirectAction:'. The commit diff shows removal of these handlers:
- REDIRECT_PREFIX/REDIRECT_ACTION_PREFIX constants were deleted
- The associated ParameterAction blocks (which took untrusted input to set redirect locations) were removed
- Tests validating redirect behavior were modified to expect null results This demonstrates the vulnerable code was the logic that parsed these prefixes and executed redirects based on unvalidated user input.