mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-09 12:13:30 +08:00
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
id: springboot-flyway
|
|
|
|
info:
|
|
name: Springboot Flyway API
|
|
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
|
|
max-request: 2
|
|
tags: misconfig,springboot,exposure,flyway,vuln
|
|
|
|
http:
|
|
- 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
|
|
# digest: 4b0a004830460221009645b1c23da8806a816ad81734cf97846d48b87a1f7ba24b5ec371fc14730fbf022100d2b0b72f067927d0c0737774daed46427c1f4bf2460c3fa714ddcf39f75311dd:922c64590222798bb761d5b6d8e72950 |