Spring Authorization Bypass - CVE 2024-38821

Introduction

Spring announced on October 25, 2024, CVE-2024-38821, a critical vulnerability allowing attackers to access restricted resources under certain circumstances.

The vulnerability specifically impacts Spring WebFlux's static resource serving. For it to affect 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.

PoC


REFERENCES

Last updated