55 lines
1.7 KiB
YAML
55 lines
1.7 KiB
YAML
id: phpmyadmin-setup
|
|
|
|
info:
|
|
name: PhpMyAdmin Setup File - Detect
|
|
author: sheikhrishad,thevillagehacker,Kr1shna4garwal,ArjunChandarana,0xpugazh
|
|
severity: medium
|
|
description: Multiple phpMyAdmin setup files were detected.
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
|
|
cvss-score: 5.3
|
|
cwe-id: CWE-200
|
|
metadata:
|
|
verified: true
|
|
max-request: 16
|
|
shodan-query: http.html:"phpMyAdmin"
|
|
tags: phpmyadmin,misconfig
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}{{paths}}"
|
|
payloads:
|
|
paths:
|
|
- "/phpmyadmin/scripts/setup.php"
|
|
- "/phpMyAdmin/scripts/setup.php"
|
|
- "/_phpmyadmin/scripts/setup.php"
|
|
- "/forum/phpmyadmin/scripts/setup.php"
|
|
- "/php/phpmyadmin/scripts/setup.php"
|
|
- "/typo3/phpmyadmin/scripts/setup.php"
|
|
- "/web/phpmyadmin/scripts/setup.php"
|
|
- "/xampp/phpmyadmin/scripts/setup.php"
|
|
- "/sysadmin/phpMyAdmin/scripts/setup.php"
|
|
- "/phpmyadmin/setup/index.php"
|
|
- "/pma/setup/index.php"
|
|
- "/admin/pma/setup/index.php"
|
|
- "/phpmyadmin/setup/"
|
|
- "/setup/index.php"
|
|
- "/admin/"
|
|
- "/phpMyAdminOLD/setup/index.php"
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "You want to configure phpMyAdmin using web interface"
|
|
- "<title>phpMyAdmin setup</title>"
|
|
condition: or
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 490a0046304402201ba753f9522b781ed669474d8d7c5f3eca817efc0e019a95dae6f132913720f10220738371f5fa2fdc90a89c62fab55e77eaf6fb9315166e18633cc4880b0ff91c3b:922c64590222798bb761d5b6d8e72950 |