44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
id: springboot-httptrace
|
|
|
|
info:
|
|
name: Detect Springboot httptrace
|
|
author: that_juan_,dwisiswant0,wdahlenb
|
|
severity: low
|
|
description: View recent HTTP requests and responses
|
|
metadata:
|
|
max-request: 2
|
|
tags: springboot,exposure,misconfig
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/httptrace"
|
|
- "{{BaseURL}}/actuator/httptrace"
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"traces"'
|
|
- '"timestamp"'
|
|
- '"principal"'
|
|
- '"session"'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "application/json"
|
|
- "application/vnd.spring-boot.actuator"
|
|
- "application/vnd.spring-boot.actuator.v1+json"
|
|
condition: or
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 490a0046304402202f0e987c5fe8eb97d0c163fabcd49a8f1fb9880391c3bfff2971f46d66e1ee5e0220680a9079af135bce4c509362fb053223582bcae20edb49efcec90d15a6f8bdb7:922c64590222798bb761d5b6d8e72950
|