41 lines
958 B
YAML
41 lines
958 B
YAML
id: springboot-loggers
|
|
|
|
info:
|
|
name: Detect Springboot Loggers
|
|
author: that_juan_,dwisiswant0,wdahlenb
|
|
severity: low
|
|
metadata:
|
|
max-request: 2
|
|
tags: springboot,exposure,misconfig
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/loggers"
|
|
- "{{BaseURL}}/actuator/loggers"
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"loggers"'
|
|
- '"levels"'
|
|
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: 4a0a0047304502203f611ce92e9d35e9cc7ddc30eed159fde66b9d7db283b752572c0c447e303e1e022100932d6c30a4a8c977a224fb47c8bfd76ec199948d614e8a25b6f2f40b7a24f2a5:922c64590222798bb761d5b6d8e72950
|