Spring Security versions 5.8 prior to 5.8.5, 6.0 prior to 6.0.5, and 6.1 prior to 6.1.2 could be susceptible to authorization rule misconfiguration if the application uses requestMatchers(String) and multiple servlets, one of them being Spring MVC’s DispatcherServlet. (DispatcherServlet is a Spring MVC component that maps HTTP endpoints to methods on @Controller-annotated classes.)
Specifically, an application is vulnerable when all of the following are true:
* Spring MVC is on the classpath
* Spring Security is securing more than one servlet in a single application (one of them being Spring MVC’s DispatcherServlet)
* The application uses requestMatchers(String) to refer to endpoints that are not Spring MVC endpoints
An application is not vulnerable if any of the following is true:
* The application does not have Spring MVC on the classpath
* The application secures no servlets other than Spring MVC’s DispatcherServlet
* The application uses requestMatchers(String) only for Spring MVC endpoints
References
Link | Resource |
---|---|
https://spring.io/security/cve-2023-34035 | Exploit Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
27 Jul 2023, 03:54
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-863 | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.3 |
CPE | cpe:2.3:a:vmware:spring_security:*:*:*:*:*:*:*:* | |
References | (MISC) https://spring.io/security/cve-2023-34035 - Exploit, Vendor Advisory |
18 Jul 2023, 17:33
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-07-18 16:15
Updated : 2024-02-05 00:01
NVD link : CVE-2023-34035
Mitre link : CVE-2023-34035
CVE.ORG link : CVE-2023-34035
JSON object : View
Products Affected
vmware
- spring_security
CWE
CWE-863
Incorrect Authorization