CVE-2024-38821

Authorization Bypass
Affects
Spring Security
in
Spring
No items found.
Versions
<5.7.13, >=5.8.0 <5.8.15, >=6.0.0 <6.0.13, >=6.1.0 <6.1.11, >=6.2.0 <6.2.7, >=6.3.0 <6.3.4

Patch Available.

Exclamation circle icon
Patch Available

This Vulnerability has been fixed in the Never-Ending Support (NES) version offered by HeroDevs.

Overview

Spring Security is a powerful and highly customizable authentication and access-control framework for Java applications. It provides a range of security features that make it easier to secure enterprise applications.

‍

Authorization bypass of webFlux application’s static resources (CVE-2024-38821) has been identified in Spring Security, which could allow access to unauthorized files.

‍

This issue affects multiple versions of Spring Security.

‍

Details

Module Info

‍

Vulnerability Info

In certain cases, Spring WebFlux applications with Spring Security authorization rules on static resources may be vulnerable to authorization bypass.

‍

For this issue to affect an application, all of the following conditions must be met:

  • The application must use WebFlux.
  • It must leverage Spring’s static resources support.
  • A non-permitAll authorization rule must be applied to the static resources.

‍

Steps To Reproduce

Our team will update these steps as soon as more is known.

‍

Mitigation

Spring Security 5.x versions are no longer community-supported. For more information, see here.

‍

Users of the affected components should apply one of the following mitigations:

  • Upgrade affected applications to supported versions of Spring Security.
  • Leverage a commercial support partner like HeroDevs for post-EOL security support.

‍

Credits

  • Tkswifty
  • d4y1ightl@gmail.com
Vulnerability Details
Severity
Level
CVSS Assessment
Low
>=0 <4
Medium
>=4 <6
High
>=6 <8
Critical
>=8 <10
Critical
ID
CVE-2024-38821
PROJECT Affected
Spring Security
Versions Affected
<5.7.13, >=5.8.0 <5.8.15, >=6.0.0 <6.0.13, >=6.1.0 <6.1.11, >=6.2.0 <6.2.7, >=6.3.0 <6.3.4
NES Versions Affected
Published date
October 25, 2024
≈ Fix date
October 29, 2024
Category
Authorization Bypass
Vex Document
Download VEXHow do I use it?
Sign up for the latest vulnerability alerts fixed in
NES for Spring
Rss feed icon
Subscribe via RSS
or

By submitting the form I acknowledge receipt of our Privacy Policy.

Thanks for signing up for our Newsletter! We look forward to connecting with you.
Oops! Something went wrong while submitting the form.