CVE-2023-22602
When using Apache Shiro before 1.11.0 together with Spring Boot 2.6+, a specially crafted HTTP request may cause an authentication bypass.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.55%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
When using Apache Shiro before 1.11.0 together with Spring Boot 2.6+, a specially crafted HTTP request may cause an authentication bypass. The authentication bypass occurs when Shiro and Spring Boot are using different pattern-matching techniques. Both Shiro and Spring Boot < 2.6 default to Ant style pattern matching. Mitigation: Update to Apache Shiro 1.11.0, or set the following Spring Boot configuration value: `spring.mvc.pathmatch.matching-strategy = ant_path_matcher`
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS
- 1.55% probability · 74th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-436
- Affected
- apache/shiro · vmware/spring boot
- Source
- security@apache.org
References
- https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhklMailing List, Vendor Advisory
- https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhklMailing List, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20230302-0001/
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.