Skip to main content
← All vulnerabilities
CVE-2024-38821GHSA-C4Q5-6C82-3QPW

Authorization Bypass of Static Resources in WebFlux Applications

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.7.13, 5.8.15, 6.0.13, 6.1.11, 6.2.7, and 1 more
2 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

Spring WebFlux applications that have Spring Security authorization rules on static resources can be bypassed under certain circumstances. For this to impact an application, all of the following must be true: • It must be a WebFlux application • It must be using Spring's static resources support • It must have a non-permitAll authorization rule applied to the static resources support

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • Spring Security

    From 5.7.x · fixed in 5.7.13; From 5.8.x · fixed in 5.8.15; From 6.0.x · fixed in 6.0.13; From 6.1.x · fixed in 6.1.11; From 6.2.x · fixed in 6.2.7; From 6.3.x · fixed in 6.3.4

  • org.springframework.security:spring-security-webMaven

    From 5.0.0 · fixed in 5.7.13

  • org.springframework.security:spring-security-webMaven

    From 5.8.0 · fixed in 5.8.15

  • org.springframework.security:spring-security-webMaven

    From 6.2.0 · fixed in 6.2.7

  • org.springframework.security:spring-security-webMaven

    From 6.0.0 · fixed in 6.0.13

  • org.springframework.security:spring-security-webMaven

    From 6.1.0 · fixed in 6.1.11

  • org.springframework.security:spring-security-webMaven

    From 6.3.0 · fixed in 6.3.4

References 3

spring.io

GitHub · masa42/CVE-2024-38821-POC

GitHub · mouadk/cve-2024-38821