9.8critical
Spring Security authorization rules can be bypassed via forward or include dispatcher types
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 4.25% (higher than 91% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- vmware
- Also known as
- GHSA-mmmh-wcxm-2wr4
Description
Spring Security, versions 5.7 prior to 5.7.5 and 5.6 prior to 5.6.9 could be susceptible to authorization rules bypass via forward or include dispatcher types. Specifically, an application is vulnerable when all of the following are true: The application expects that Spring Security applies security to forward and include dispatcher types. The application uses the AuthorizationFilter either manually or via the authorizeHttpRequests() method. The application configures the FilterChainProxy to apply to forward and/or include requests (e.g. spring.security.filter.dispatcher-types = request, error, async, forward, include). The application may forward or include the request to a higher privilege-secured endpoint.The application configures Spring Security to apply to every dispatcher type via authorizeHttpRequests().shouldFilterAllDispatcherTypes(true)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Spring by VMware | 5.7 to 5.7.4, 5.6 to 5.6.8 and older versions | CVE List |
| org.springframework.security:spring-security-core (Maven) | from 5.7.0 before 5.7.5, from 5.6.0 before 5.6.9 | GitHub Advisory Database |
| vmware spring_security | from 5.6.0 before 5.6.9, from 5.7.0 before 5.7.5 | NVD |
| netapp active_iq_unified_manager | Not specified | NVD |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
Spring Security, versions 5.7 prior to 5.7.5 and 5.6 prior to 5.6.9 could be susceptible to authorization rules bypass via forward or include dispatcher types. Specifically, an application is vulnerable when all of the following are true: The application expects that Spring Security applies security to forward and include dispatcher types. The application uses the AuthorizationFilter either manually or via the authorizeHttpRequests() method. The application configures the FilterChainProxy to apply to forward and/or include requests (e.g. spring.security.filter.dispatcher-types = request, error, async, forward, include). The application may forward or include the request to a higher privilege-secured endpoint.The application configures Spring Security to apply to every dispatcher type via authorizeHttpRequests().shouldFilterAllDispatcherTypes(true)
NVD (es)
Spring Security, las versiones 5.7 anteriores a 5.7.5 y 5.6 anteriores a 5.6.9 podrían ser susceptibles a que las reglas de autorización se omitan mediante reenvío o incluyan tipos de despachadores. Específicamente, una aplicación es vulnerable cuando se cumple todo lo siguiente: La aplicación espera que Spring Security aplique seguridad para reenviar e incluir tipos de despachadores. La aplicación utiliza AuthorizationFilter manualmente o mediante el método AuthorizeHttpRequests(). La aplicación configura FilterChainProxy para aplicarlo a solicitudes de reenvío y/o inclusión (e.g. spring.security.filter.dispatcher-types = request, error, async, forward, include). La aplicación puede reenviar o incluir la solicitud a endpoint con privilegios más altos. La aplicación configura Spring Security para aplicar a cada tipo de despachador a través de AuthorizeHttpRequests().shouldFilterAllDispatcherTypes(true)
References
| https://tanzu.vmware.com/security/cve-2022-31692 | mitigation, vendor-advisory, web | |
| https://security.netapp.com/advisory/ntap-20221215-0010/ | third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-31692 | advisory | |
| https://github.com/spring-projects/spring-security | package | |
| https://security.netapp.com/advisory/ntap-20221215-0010 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31692 changed 2025-05-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mmmh-wcxm-2wr4 changed 2024-02-17 | CC-BY-4.0 |
| NVD | CVE-2022-31692 changed 2026-06-17 | Public domain |