mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-02 08:43:27 +08:00
39 lines
977 B
YAML
39 lines
977 B
YAML
id: springboot-gateway
|
|
|
|
info:
|
|
name: Detect Spring Gateway Actuator
|
|
author: wdahlenb
|
|
severity: medium
|
|
description: Sensitive environment variables may not be masked
|
|
reference:
|
|
- https://wya.pl/2021/12/20/bring-your-own-ssrf-the-gateway-actuator/
|
|
metadata:
|
|
max-request: 2
|
|
tags: springboot,exposure,misconfig
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/gateway/routes"
|
|
- "{{BaseURL}}/actuator/gateway/routes"
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "predicate"
|
|
- "route_id"
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "application/json"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4b0a00483046022100a3565c1587f6f0d896a24687d141608114636bbba8b7532126b197ee3e3a0567022100ce2507bf93a6d1d73d6263e075c146ab7cac9441ad10f88abafc7cff8b8497ed:922c64590222798bb761d5b6d8e72950 |