2023-05-14 19:32:22 +00:00
|
|
|
id: config-properties
|
2023-05-14 11:27:37 +00:00
|
|
|
|
|
|
|
info:
|
2023-05-14 19:32:48 +00:00
|
|
|
name: Config Properties Exposure
|
2023-05-14 19:32:22 +00:00
|
|
|
author: j4vaovo,DhiyaneshDK
|
|
|
|
severity: high
|
|
|
|
reference:
|
|
|
|
- https://twitter.com/win3zz/status/1657624974851702784/photo/1
|
2023-05-14 11:27:37 +00:00
|
|
|
metadata:
|
2023-05-14 19:32:22 +00:00
|
|
|
verified: "true"
|
|
|
|
max-request: 3
|
|
|
|
tags: exposure,config,properties
|
2023-05-14 11:27:37 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/config.properties"
|
|
|
|
- "{{BaseURL}}/config.properties.bak"
|
2023-05-14 19:32:22 +00:00
|
|
|
- "{{BaseURL}}/ui_config.properties"
|
2023-05-14 11:27:37 +00:00
|
|
|
|
2023-05-14 19:32:22 +00:00
|
|
|
stop-at-first-match: true
|
2023-05-14 11:27:37 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- 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
|
2023-05-14 19:32:22 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|