PT-2023-8779 · Spring+2 · Spring Boot+2
Published
2023-01-13
·
Updated
2023-08-31
·
CVE-2023-22602
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:C/A:N |
Name of the Vulnerable Software and Affected Versions
Apache Shiro versions prior to 1.11.0
Spring Boot versions 2.6+
Description
The issue is related to a conflict of interpretations between Apache Shiro and Spring Boot, which can be exploited by a remote attacker using a specially crafted HTTP request to bypass authentication. This occurs when Shiro and Spring Boot use different pattern-matching techniques, with both defaulting to Ant style pattern matching in versions prior to Spring Boot 2.6.
Recommendations
Update to Apache Shiro 1.11.0
Set the Spring Boot configuration value:
spring.mvc.pathmatch.matching-strategy = ant path matcherFix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Apache Shiro
Debian
Spring Boot