PoC Monitor
← All CVEs
CVE-2025-22235published 28 Apr 2025 07:10 UTCData: JSON · API

Spring Boot

Spring Boot EndpointRequest.to() creates wrong matcher if actuator endpoint is not exposed

EndpointRequest.to() creates a matcher for null/** if the actuator endpoint, for which the EndpointRequest has been created, is disabled or not exposed. Your application may be affected by this if all the following conditions are met: * You use Spring Security * EndpointRequest.to() has been used in a Spring Security chain configuration * The endpoint which EndpointRequest references is disabled or not exposed via web * Your application handles requests to /null and this path needs protection You are not affected if any of the following is true: * You don't use Spring Security * You don't use EndpointRequest.to() * The endpoint which EndpointRequest.to() refers to is enabled and is exposed * Your application does not handle requests to /null or this path does not need protection

First public PoC 115 daysafter publication · 21 Aug 2025
Public PoCs11 on GitHub
CVSS7.3high · scored by CNA · CWE-20
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Spring Spring Boot
  • >= 2.7.x, < 2.7.25
  • >= 3.1.x, < 3.1.16
  • >= 3.2.x, < 3.2.14
  • >= 3.3.x, < 3.3.11
  • >= 3.4.x, < 3.4.5

Fixed in 2.7.25, 3.1.16, 3.2.14, 3.3.11, 3.4.5

Mitigation

Upgrade Spring Boot to 2.7.25 or 3.1.16 or 3.2.14 or 3.3.11 or 3.4.5 or later.

Timeline

Days relative to CVE publication
t=0+14+28+42+56+70+84+98+112CVE published28 Apr 2025 · t = 0First public PoC21 Aug 2025 · t+115d

First public PoC 115 days after publication; not in CISA KEV. First PoC: idealzh/cve-2025-22235-demo (created 21 Aug 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
idealzh/cve-2025-22235-demo 21 Aug 2025 +115 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /actuator/health

Ports
8080
Seen in
1 repo: idealzh/cve-2025-22235-demo
Evidence
idealzh/cve-2025-22235-demo/test_vulnerability.py:47

GET /actuator/info

Ports
8080
Seen in
1 repo: idealzh/cve-2025-22235-demo
Evidence
idealzh/cve-2025-22235-demo/test_vulnerability.py:58

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /actuator/health
(?i)^/actuator/health(?:[?#].*)?$
GET /actuator/info
(?i)^/actuator/info(?:[?#].*)?$
GET /info
(?i)^/info(?:[?#].*)?$
GET /null
(?i)^/null(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /actuator/health
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-22235 Spring Spring Boot exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/actuator/health"; reference:url,poc.griffinguard.io/cve/CVE-2025-22235; classtype:web-application-attack; sid:9114571; rev:1;)
GET /actuator/info
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-22235 Spring Spring Boot exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/actuator/info"; reference:url,poc.griffinguard.io/cve/CVE-2025-22235; classtype:web-application-attack; sid:9081297; rev:1;)
GET /info
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-22235 Spring Spring Boot exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/info"; reference:url,poc.griffinguard.io/cve/CVE-2025-22235; classtype:web-application-attack; sid:9598075; rev:1;)
GET /null
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-22235 Spring Spring Boot exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/null"; reference:url,poc.griffinguard.io/cve/CVE-2025-22235; classtype:web-application-attack; sid:9861026; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /actuator/health
title: Spring Spring Boot exploit attempt (CVE-2025-22235)
id: gg-pocmon-cve-2025-22235-9114571
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-22235. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-22235
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/actuator/health'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.22235
GET /actuator/info
title: Spring Spring Boot exploit attempt (CVE-2025-22235)
id: gg-pocmon-cve-2025-22235-9081297
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-22235. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-22235
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/actuator/info'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.22235
GET /info
title: Spring Spring Boot exploit attempt (CVE-2025-22235)
id: gg-pocmon-cve-2025-22235-9598075
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-22235. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-22235
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/info'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.22235
GET /null
title: Spring Spring Boot exploit attempt (CVE-2025-22235)
id: gg-pocmon-cve-2025-22235-9861026
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-22235. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-22235
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/null'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.22235