Merge pull request #5700 from projectdiscovery/springboot-logfile

Create springboot-logfile.yaml
patch-1
Prince Chaddha 2022-10-17 16:18:53 +05:30 committed by GitHub
commit aa4db7d1b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
id: springboot-logfile
info:
name: Detect Springboot Logfile Actuator
author: DhiyaneshDK
severity: low
reference:
- https://raw.githubusercontent.com/maurosoria/dirsearch/master/db/dicc.txt
metadata:
verified: true
shodan-query: title:"Eureka"
tags: misconfig,springboot,exposure
requests:
- method: GET
path:
- "{{BaseURL}}/logfile"
- "{{BaseURL}}/actuator/logfile"
- "{{BaseURL}}/actuators/logfile"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'springframework.web.HttpRequestMethodNotSupportedException'
- 'INFO'
condition: and
- type: word
part: header
words:
- "text/plain"
- type: status
status:
- 200