Improper Access Control Affecting org.springframework:spring-webmvc package, versions [5.3.0,5.3.26) [6.0.0,6.0.7)
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-ORGSPRINGFRAMEWORK-3369852
- published 23 Mar 2023
- disclosed 23 Mar 2023
- credit Unknown
Introduced: 23 Mar 2023
CVE-2023-20860 Open this link in a new tabHow to fix?
Upgrade org.springframework:spring-webmvc
to version 5.3.26, 6.0.7 or higher.
Overview
org.springframework:spring-webmvc is a package that provides Model-View-Controller (MVC) architecture and ready components that can be used to develop flexible and loosely coupled web applications.
Affected versions of this package are vulnerable to Improper Access Control when using an un-prefixed double wildcard pattern ("**"
) in the Spring Security configuration with the mvcRequestMatcher
. This configuration creates a pattern-matching discrepancy between Spring Security and Spring MVC, potentially allowing unauthorized access.
Note: The Spring security team have published information about an existing PoC, but have not shared the PoC itself publicly, therefore we don't currently have the ability to verify it.