CVE-2023-22602
Apache Shiro and Spring Boot Authentication Bypass
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`
INFO
Published Date :
Jan. 14, 2023, 10:15 a.m.
Last Modified :
Nov. 7, 2023, 4:07 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2023-22602 has a 12 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-22602
.
URL | Resource |
---|---|
https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhkl | Mailing List Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Shell
None
Shell
None
Shell
None
Shell
None
Shell
None
None
None
None
None
None
一个CVE漏洞预警知识库 no exp/poc
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-22602
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-22602
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Changed 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` 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` -
Reanalysis by [email protected]
Aug. 31, 2023
Action Type Old Value New Value Changed CPE Configuration OR AND *cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:* versions up to (excluding) 1.11.0 AND *cpe:2.3:a:vmware:spring_boot:2.6.0:\+:*:*:*:*:*:* AND OR *cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:* versions up to (excluding) 1.11.0 OR *cpe:2.3:a:vmware:spring_boot:2.6.0:\+:*:*:*:*:*:* -
Initial Analysis by [email protected]
Jan. 27, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Changed Reference Type https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhkl No Types Assigned https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhkl Mailing List, Vendor Advisory Added CPE Configuration OR AND *cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:* versions up to (excluding) 1.11.0 AND *cpe:2.3:a:vmware:spring_boot:2.6.0:\+:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-22602
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-22602
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.36 }} 0.01%
score
0.72719
percentile