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 misconfig
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.8.5, 6.0.5, 6.1.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 2 proofs of concept on GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- n/a Spring Security
Version range not reported
- org.springframework.security:spring-security-configMaven
From 5.8.0 · fixed in 5.8.5
- org.springframework.security:spring-security-configMaven
From 6.0.0 · fixed in 6.0.5
- org.springframework.security:spring-security-configMaven
From 6.1.0 · fixed in 6.1.2