Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-34035 PoC — Spring Security 安全漏洞

Source
Associated Vulnerability
Title:Spring Security 安全漏洞 (CVE-2023-34035)
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
Readme
# CVE-2023-34035: Incorrect Authorization
File Snapshot

[4.0K] /data/pocs/40c6f117f0dff264a4ea4c70bff785a5ba95626b ├── [4.0K] demo │   ├── [1.2K] HELP.md │   ├── [ 10K] mvnw │   ├── [6.6K] mvnw.cmd │   ├── [4.6K] pom.xml │   └── [4.0K] src │   ├── [4.0K] main │   │   ├── [4.0K] kotlin │   │   │   └── [4.0K] com │   │   │   └── [4.0K] example │   │   │   └── [4.0K] demo │   │   │   ├── [ 265] Main.kt │   │   │   ├── [ 241] Resolver.kt │   │   │   └── [1.0K] SecurityConfiguration.kt │   │   └── [4.0K] resources │   │   ├── [ 688] application.yml │   │   └── [4.0K] graphql │   │   └── [ 34] userepoql.graphqls │   └── [4.0K] test │   └── [4.0K] kotlin │   └── [4.0K] com │   └── [4.0K] example │   └── [4.0K] demo │   └── [ 211] DemoApplicationTests.kt └── [ 42] README.md 14 directories, 11 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →