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

42 lines
1.1 KiB
YAML
Raw Normal View History

2022-07-28 08:08:15 +00:00
id: springboot-flyway
info:
2022-07-28 13:43:19 +00:00
name: Springboot Flyway API
2022-07-28 08:08:15 +00:00
author: ELSFA7110
severity: low
description: This endpoint to retrieve the migrations
reference:
- https://docs.spring.io/spring-boot/docs/current/actuator-api/htmlsingle/#flyway
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 2
2022-07-28 13:43:19 +00:00
tags: misconfig,springboot,exposure,flyway
2022-07-28 08:08:15 +00:00
http:
2022-07-28 08:08:15 +00:00
- method: GET
path:
- "{{BaseURL}}/flyway"
- "{{BaseURL}}/actuator/flyway"
stop-at-first-match: true
2023-10-14 11:27:55 +00:00
2022-07-28 08:08:15 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
- "flywayBeans"
- 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: 4a0a0047304502206918fb9c356762df8e2d4a280c276db28ea001b23abcad2af96352c096d27149022100dab63955a467e1f3bed96618fbac891ed0ef0867537b258a1964421a4a2979d0:922c64590222798bb761d5b6d8e72950