Access Control Bypass Affecting org.springframework.security:spring-security-config package, versions [5.6.0,5.6.12) [5.7.0,5.7.10) [5.8.0,5.8.5) [6.0.0,6.0.5) [6.1.0,6.1.2)
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-ORGSPRINGFRAMEWORKSECURITY-5777893
- published 18 Jul 2023
- disclosed 18 Jul 2023
- credit tkswifty, Ha1c9on
Introduced: 18 Jul 2023
CVE-2023-34034 Open this link in a new tabHow to fix?
Upgrade org.springframework.security:spring-security-config
to version 5.6.12, 5.7.10, 5.8.5, 6.0.5, 6.1.2 or higher.
Overview
org.springframework.security:spring-security-config is a security configuration package for Spring Framework.
Affected versions of this package are vulnerable to Access Control Bypass. When using **
as a pattern in Spring Security configuration for WebFlux
a mismatch in pattern matching is created between Spring Security and Spring WebFlux, resulting in a security bypass.
Note:
The fixed versions require Spring Framework versions:
6.0.11+
5.3.29+
5.2.25+
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.