Summary
Apache Struts lets developers restrict an action to specific HTTP methods using annotations on the action class or on the action method. In version 6.9.0, a restriction declared only on the action class is not enforced when the action configuration names the method to be invoked. As a result, a request using an HTTP method the application intended to reject is accepted and the action runs (CWE-863, Incorrect Authorization).
Per the CVSS vector (score 9.8, critical), the attack is network-based, low complexity, requires no authentication and no user interaction, with potentially high impact on confidentiality, integrity and availability. Real-world impact depends on what the affected action does. The issue is not in the CISA KEV catalog; the EPSS score is low (about 0.39%).
Not affected: applications that do not use these annotations, applications declaring the restriction on the invoked method, actions left to the default method, Struts 6.8.0 and earlier, and any 7.x release.
Who is affected
Organizations running Apache Struts 6.9.0 that restrict HTTP methods via annotations on the action class while the action configuration names the invoked method.
What to do
- Upgrade Apache Struts to version 6.10.0, which fixes the issue, as recommended by the vendor.
- Inventory applications and dependencies (e.g. Maven/Gradle) to identify use of Struts 6.9.0.
- Review actions whose HTTP method restriction is declared only on the class and whose configuration names the method; these are exposed.
- Until upgrading, consider moving the restriction onto the invoked method itself (a case described as not affected) and verify behavior through testing.
- Follow the official S2-079 bulletin (https://cwiki.apache.org/confluence/display/WW/S2-079) for further details.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-863 Incorrect Authorization
References
- cwiki.apache.org/confluence/display/WW/S2-079 vendor advisory
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.