mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-05 18:23:57 +08:00
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
id: springboot-loggers
|
|
|
|
info:
|
|
name: Springboot Loggers - Exposure
|
|
author: that_juan_,dwisiswant0,wdahlenb,TheZakMan
|
|
severity: low
|
|
description: Springboot Loggers is exposed.
|
|
metadata:
|
|
max-request: 2
|
|
verified: true
|
|
tags: springboot,exposure,misconfig
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/loggers"
|
|
- "{{BaseURL}}/actuator/loggers"
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'status_code == 200'
|
|
- 'contains(body, "\"loggers\"")'
|
|
- 'contains_any(tolower(content_type), "application/json", "application/vnd.spring-boot")'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"levels"'
|
|
- '"configuredLevel"'
|
|
- '"effectiveLevel"'
|
|
condition: or
|
|
# digest: 4a0a0047304502203a08113f44f58ff9d457beb484e469e30db2725009b8d3d163c174449e798b4e022100a2e5becc656b8f739978d271a00879ebbf1cec1a6f2be10c94e50fa6c1c2ad90:922c64590222798bb761d5b6d8e72950 |