cbcvebase.
CVE-2023-34034
published 2023-07-19

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 the…

PriorityP258critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
3.46%
87.7th percentile
Using "**" as a pattern in Spring Security configuration for WebFlux creates a mismatch in pattern matching between Spring Security and Spring WebFlux, and the potential for a security bypass.

Affected

10 ranges
VendorProductVersion rangeFixed in
vmwarespring_security>= 5.6.0 < 5.6.125.6.12
vmwarespring_security>= 5.7.0 < 5.7.105.7.10
vmwarespring_security>= 5.8.0 < 5.8.55.8.5
vmwarespring_security>= 6.0.0 < 6.0.56.0.5
vmwarespring_security>= 6.1.0 < 6.1.26.1.2
vmwarespring_securitySpring Security 5.6.0 – 5.6.11
vmwarespring_securitySpring Security 5.7.0 – 5.7.9
vmwarespring_securitySpring Security 5.8.0 – 5.8.4
vmwarespring_securitySpring Security 6.0.0 – 6.0.4
vmwarespring_securitySpring Security 6.1.0 – 6.1.1

Detection & IOCsextracted from sources · hover to see the quote

  • Detect Spring Security WebFlux configurations using '**' as a pattern without a leading slash, which creates a pattern-matching mismatch enabling security bypass
  • Flag pathMatchers expressions that do NOT have a leading slash before the path pattern (e.g., pathMatchers("home/**")), as these are the vulnerable form exploitable for security bypass
  • Investigate HTTP requests targeting path segments that should be restricted; a server using path-based pattern matching in WebFlux may allow an attacker to bypass security settings for some request paths, potentially leading to information disclosure or access of functionality outside the user's permissions
  • ·Only Spring Security WebFlux (reactive stack) configurations are vulnerable; non-WebFlux (servlet-based) Spring Security configurations are not affected by this pattern-matching mismatch
  • ·Red Hat build of Quarkus (io.quarkus/quarkus-spring-security) and Red Hat Single Sign-On 7 are confirmed NOT affected; Red Hat Process Automation 7 IS affected; Red Hat JBoss Fuse 6 is out of support scope
  • ·Mitigation requires ensuring all path patterns have a leading slash prepended; patterns without a leading slash (e.g., 'home/**') remain vulnerable

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vendor_oracle9.8CRITICAL
vendor_redhat9.1CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.