CVE-2023-34035

HIGH

Spring Security <5.8.5,6.0.5,6.1.2 - Info Disclosure

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2023-34035. PoCs published by jzheaux, mouadk.

AI-analyzed exploit summary This repository contains mitigation examples and test cases for CVE-2023-34035, focusing on Spring Security configurations and servlet path handling. It includes integration tests and configuration examples but does not contain exploit code.

Description

Spring Security versions 5.8 prior to 5.8.5, 6.0 prior to 6.0.5, and 6.1 prior to 6.1.2 could be susceptible to authorization rule misconfiguration if the application uses requestMatchers(String) and multiple servlets, one of them being Spring MVC’s DispatcherServlet. (DispatcherServlet is a Spring MVC component that maps HTTP endpoints to methods on @Controller-annotated classes.) Specifically, an application is vulnerable when all of the following are true: * Spring MVC is on the classpath * Spring Security is securing more than one servlet in a single application (one of them being Spring MVC’s DispatcherServlet) * The application uses requestMatchers(String) to refer to endpoints that are not Spring MVC endpoints An application is not vulnerable if any of the following is true: * The application does not have Spring MVC on the classpath * The application secures no servlets other than Spring MVC’s DispatcherServlet * The application uses requestMatchers(String) only for Spring MVC endpoints

Exploits (2)

nomisec WRITEUP 4 stars
by jzheaux · poc
https://github.com/jzheaux/cve-2023-34035-mitigations

This repository contains mitigation examples and test cases for CVE-2023-34035, focusing on Spring Security configurations and servlet path handling. It includes integration tests and configuration examples but does not contain exploit code.

Classification
Writeup 90%
Attack Type
Other
Complexity
Moderate
Reliability
Theoretical
Target: Spring Framework (specific version not specified)
No auth needed
Prerequisites: Spring Framework application with vulnerable configuration
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WRITEUP
by mouadk · poc
https://github.com/mouadk/CVE-2023-34035-Poc

The repository contains only a README.md file with minimal information about CVE-2023-34035, an Incorrect Authorization vulnerability. No exploit code or technical details are provided.

Classification
Writeup 10%
Attack Type
Auth Bypass
Complexity
Theoretical
Reliability
Theoretical
Target: unspecified
No auth needed
Prerequisites: none specified
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 7.3
EPSS 0.0263
EPSS Percentile 86.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-863
Status published
Products (2)
org.springframework.security/spring-security-config 5.8.0 - 5.8.5Maven
vmware/spring_security 5.8.0 - 5.8.5
Published Jul 18, 2023
Tracked Since Feb 18, 2026