Bug 2182198 (CVE-2023-22602) - CVE-2023-22602 shiro: Authentication bypass through a specially crafted HTTP request
Summary: CVE-2023-22602 shiro: Authentication bypass through a specially crafted HTTP ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2023-22602
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2161230
TreeView+ depends on / blocked
 
Reported: 2023-03-27 21:01 UTC by Patrick Del Bello
Modified: 2023-06-29 20:08 UTC (History)
11 users (show)

Fixed In Version: shiro-core 1.11.0
Clone Of:
Environment:
Last Closed: 2023-05-03 20:33:15 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:2100 0 None None None 2023-05-03 14:07:16 UTC
Red Hat Product Errata RHSA-2023:3954 0 None None None 2023-06-29 20:08:38 UTC

Description Patrick Del Bello 2023-03-27 21:01:46 UTC
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`

https://lists.apache.org/thread/dzj0k2smpzzgj6g666hrbrgsrlf9yhkl

Comment 2 errata-xmlrpc 2023-05-03 14:07:14 UTC
This issue has been addressed in the following products:

  RHINT Camel-Springboot 3.20.1

Via RHSA-2023:2100 https://access.redhat.com/errata/RHSA-2023:2100

Comment 3 Product Security DevOps Team 2023-05-03 20:33:13 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-22602

Comment 4 errata-xmlrpc 2023-06-29 20:08:37 UTC
This issue has been addressed in the following products:

  Red Hat Fuse 7.12

Via RHSA-2023:3954 https://access.redhat.com/errata/RHSA-2023:3954


Note You need to log in before you can comment on or make changes to this bug.