Bypassing Authorization Rules in Spring WebFlux Applications
CVE-2024-38821
Key Information:
- Vendor
Spring
- Status
- Spring
- CVE ID
- CVE ID:
- CVE-2024-38821
- Vendor
- CVE Published:
- 28 October 2024
- Fixed in
- Fixed in:
- 5.7.13, 5.8.15, 6.0.13 +3 more
Timeline
Exploit known 1 day after it was published
- π‘
Public PoC available
- πΎ
Exploit known to exist
- π°
First article discovered by The Register
Vulnerability published
Vulnerability Reserved
Badges
How risky is it?
- Yes: Works over the network, no login needed
- Yes: Public exploit code (1 proof-of-concept)
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Update to a fixed version
Several version ranges are affected; the full list is under Affected Version(s).
Install the Spring release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Spring. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Look for signs of compromise
Exploit code is public, so check logs on exposed Spring systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.
4Why it's rated "Patch this week"
- Exploit code is public, so attacks are easy to copy.
- It can be exploited remotely without credentials.
- Its CVSS severity is critical (9.1).
What is CVE-2024-38821?
CVE-2024-38821 is a vulnerability in Spring WebFlux applications that allows attackers to bypass authorization rules on static resources. This flaw occurs when a WebFlux application uses Spring's static resources support and has a non-permitAll authorization rule applied. An attacker can exploit this vulnerability to access restricted static resources without proper authorization.
Potential Impact of CVE-2024-38821
- Bypass of security controls: An attacker can access static resources that should be protected by authorization rules, potentially exposing sensitive information.
Affected Version(s)
Spring 5.7.x
Spring 5.7.x < 5.7.13
Spring 5.8.x < 5.8.15
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
News Articles
CVE-2024-38821 Archives
Solutions Solutions Keeping your systems up 100% of the time requires live patching. Our solutions will align strongly with your risk, compliance, and operational uptime...
CVE-2024-38821: Spring Security Patch Update & How TuxCare Users Are Protected
CVE-2024-38821: Stay secure with Spring Security's latest patch and TuxCare's support, ensuring protection for your Spring applications
Admins Spring into action over latest open source vuln
If you're running an application built using the Spring development framework, now is a good time to check it's fully updated β a new, critical-severity vulnerability has just been disclosed. Tracked as...
References
More Spring Vulnerabilities
Document ID Injection in TypesenseVectorStore
Stream Corruption in Spring Framework
LDAP Vulnerability in Spring Security
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction
