CVE-2023-34034

Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Spring WebFlux, and…

Critical · published July 19, 2023

CVSS v3.1
9.1
EPSS
4%
Percentile
90.7
In the wild
Unconfirmed
What it is

🚨 A critical configuration quirk in Spring Security could leave your WebFlux app wide open! Using '**' in pattern matching leads to a mismatch that could let attackers slip right past your defenses. 🔥 Think of it like a restaurant that mislabels its menu items. If the chef doesn’t double-check the orders, a table could end up with someone else’s dish—potentially a dangerous meal for someone with food allergies! An attacker can exploit this misconfiguration to bypass security measures, gaining unauthorized access to sensitive parts of your application. The consequences could be absolutely devastating, leading to data breaches or even complete system compromise.

Put simply

Think of it like a restaurant that mislabels its menu items. If the chef doesn’t double-check the orders, a table could end up with someone else’s dish—potentially a dangerous meal for someone with food allergies! This vulnerability arises when the '**' pattern in Spring Security configurations for WebFlux creates inconsistencies in access controls, allowing requests that should be blocked to go through unchecked.

What to do

An attacker can exploit this misconfiguration to bypass security measures, gaining unauthorized access to sensitive parts of your application. The consequences could be absolutely devastating, leading to data breaches or even complete system compromise. To secure your application, review your Spring Security configurations and avoid using '**' patterns. Update your Spring Security setup to the latest version and thoroughly test the access controls. Don’t leave your doors ajar! You’ve got this! With these steps, you'll patch up that vulnerability in no time and keep your application safe! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.04107 · 90.7th percentile
Published
2023-07-19T14:16Z
EPSS history
Timeline
  • 19 JUL 14:16Z
    Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Spring WebFlux, and…
    cvelistv5