45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
id: springboot-conditions
|
|
|
|
info:
|
|
name: Detect Springboot Conditions Actuator
|
|
author: DhiyaneshDK
|
|
severity: low
|
|
reference:
|
|
- https://raw.githubusercontent.com/maurosoria/dirsearch/master/db/dicc.txt
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
shodan-query: title:"Eureka"
|
|
tags: misconfig,springboot,exposure
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/conditions"
|
|
- "{{BaseURL}}/actuator/conditions"
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"positiveMatches":{'
|
|
- '"unconditionalClasses":['
|
|
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: 4a0a00473045022036baad906f87bb34764714abb52adbc981dbbdf9fe0d9176dce67554161206ad022100bbb7b9d02c0f80c68ba4dc7b2936080e927aed84a496a9bacbe6f204a17ef1bb:922c64590222798bb761d5b6d8e72950
|