Interpretation conflict vulnerability in Apache Struts. When deciding which action a request...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Apache Software FoundationApache Struts |
2.1.2 – 2.3.37→ Not listed 2.5.0 – 2.5.33→ Not listed 6.0.0 – 6.12.0→ Not listed 7.0.0 – 7.4.0→ Not listed |
Not listed Not listed Not listed Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Interpretation conflict vulnerability in Apache Struts. When deciding which action a request invokes, Struts derived the path from the request as it was received rather than from the path the servlet container had already decoded and normalised. The two can differ, so a request can be authorized by the container, by a filter or by a reverse proxy under one path and executed by Struts as a different action. Where access to actions is restricted by URL pattern in front of Struts, such as a security-constraint, a URL-pattern filter or a proxy rule, that restriction can be bypassed. For the same reason, a request could be handled by Struts although its path matched struts.action.excludePattern. Applications that enforce authorization inside Struts, for example with an interceptor on the action, apply it to the action that actually runs and are not affected by the bypass.
This issue affects Apache Struts: from 2.1.2 through 2.3.37, from 2.5.0 through 2.5.33, from 6.0.0 through 6.12.0, from 7.0.0 through 7.4.0.
Users are recommended to upgrade to version 6.13.0 or 7.5.0, which fixes the issue.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web cwiki.apache.org
- web nvd.nist.gov
- web github.com
- web openwall.com