Create config-properties-exposure
parent
8b2030bbb2
commit
b00f399e40
|
@ -0,0 +1,35 @@
|
|||
id: config-properties-exposure
|
||||
|
||||
info:
|
||||
name: config-properties-exposure
|
||||
author: j4vaovo
|
||||
severity: unknown
|
||||
tags: exposure,config,properties
|
||||
metadata:
|
||||
max-request: 1
|
||||
|
||||
http:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/config.properties"
|
||||
- "{{BaseURL}}/config.properties.bak"
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
|
||||
- type: regex
|
||||
part: body
|
||||
regex:
|
||||
- 'jdbc:[a-z:]+://[A-Za-z0-9\.\-_:;=/@?,&]+'
|
||||
- '((?i)password|pwd|pass|secretkey)='
|
||||
condition: or
|
||||
|
||||
- type: word
|
||||
part: header
|
||||
words:
|
||||
- "text/plain"
|
||||
- "bytes"
|
||||
condition: or
|
Loading…
Reference in New Issue