mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-07 11:13:20 +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,vuln
|
|
|
|
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: 4a0a00473045022078e9088fde046fdecfc872985bb5ccd101b42802d0b444ec091fe70f3f6b2a31022100d1b8045371332c573892eb71494033d68bf66cca65fd4fc686c4472fd1137242:922c64590222798bb761d5b6d8e72950 |