2021-12-21 05:24:13 +00:00
|
|
|
id: springboot-gateway
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Detect Spring Gateway Actuator
|
|
|
|
author: wdahlenb
|
|
|
|
severity: medium
|
|
|
|
description: Sensitive environment variables may not be masked
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://wya.pl/2021/12/20/bring-your-own-ssrf-the-gateway-actuator/
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: springboot,exposure,misconfig
|
2021-12-21 05:24:13 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-12-21 05:24:13 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/gateway/routes"
|
|
|
|
- "{{BaseURL}}/actuator/gateway/routes"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-12-21 05:24:13 +00:00
|
|
|
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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a0048304602210093dbfd425ec8aa343ac6b30cfe89a0321dd465496921ecacfeb56ac963a259bf022100a33204688c0fcc7dbfc15a96cc53fdb7208d329875b75b3070601cb15812013c:922c64590222798bb761d5b6d8e72950
|