Create config-properties-exposure

patch-1
J4vaovo 2023-05-14 19:27:37 +08:00 committed by GitHub
parent 8b2030bbb2
commit b00f399e40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 35 additions and 0 deletions

View File

@ -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