nuclei-templates/http/misconfiguration/springboot/springboot-caches.yaml

44 lines
1.1 KiB
YAML

id: springboot-caches
info:
name: Springboot Actuator Caches
author: ELSFA7110
severity: low
description: The caches endpoint provides access to the application's caches.
reference:
- https://docs.spring.io/spring-boot/docs/current/actuator-api/htmlsingle/#caches
metadata:
verified: true
max-request: 2
tags: misconfig,springboot,exposure
http:
- method: GET
path:
- "{{BaseURL}}/caches"
- "{{BaseURL}}/actuator/caches"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "cacheManagers"
- type: word
part: header
words:
- "application/json"
- "application/vnd.spring-boot.actuator"
- "application/vnd.spring-boot.actuator.v1+json"
- "application/vnd.spring-boot.actuator.v2+json"
condition: or
- type: status
status:
- 200
# digest: 4a0a0047304502202178e739e5d96a4e965b136119bd06a25128069cc6edbccc7f422976fd3d5bb0022100ae76653aad866e2eafcd3d51a02a1dfb5bd754e7e2dea10d215eed3212a59001:922c64590222798bb761d5b6d8e72950