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

40 lines
914 B
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
2022-07-28 13:43:19 +00:00
tags: misconfig,springboot,exposure,flyway
2022-07-28 08:08:15 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/flyway"
- "{{BaseURL}}/actuator/flyway"
stop-at-first-match: true
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