Unauthenticated static-resource access via unnormalized paths
Published Oct 28, 2024 · Updated Jan 24, 2025
Improper authorization in Spring Security 6.3.3 and earlier allows remote attackers to read protected static resources via crafted paths. WebFilterChainProxy matched raw, unnormalized request paths against security rules without a WebFlux firewall, so traversal segments could match a permitted static path before resource resolution reached a protected file. Exploitation requires WebFlux static-resource support and a non-permitAll rule protecting the requested resource; demonstrated impact is unauthorized file disclosure.
Summary
What happened
Improper authorization in Spring Security 6.3.3 and earlier allows remote attackers to read protected static resources via crafted paths. WebFilterChainProxy matched raw, unnormalized request paths against security rules without a WebFlux firewall, so traversal segments could match a permitted static path before resource resolution reached a protected file. Exploitation requires WebFlux static-resource support and a non-permitAll rule protecting the requested resource; demonstrated impact is unauthorized file disclosure.
The record
- CVE
- CVE-2024-38821
- Published
- Oct 28, 2024
- Updated
- Jan 24, 2025
- Vendor
- Spring
- Product
- Spring WebFlux
- Classifications
- CWE-770, CWE-285, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 28, 2024CVE publishedPublication date reported by the CVE source.
- Jan 24, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.7.x <5.7.13
- Affected versionversion=5.8x <5.8.15
- Affected versionversion=6.0x <6.0.13
- Affected versionversion=6.1x <6.1.11
- Affected versionversion=6.2x <6.2.7
- Affected versionversion=6.3x <6.3.4
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CVE-2024-38821 WebFlux path-traversal proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo