mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
id: phpmyadmin-unauth-access
|
|
|
|
info:
|
|
name: PhpMyAdmin - Unauthenticated Access
|
|
author: pwnhxl
|
|
severity: high
|
|
description: Unauthenticated Access to phpmyadmin dashboard.
|
|
reference:
|
|
- https://www.phpmyadmin.net
|
|
classification:
|
|
cpe: cpe:2.3:a:phpmyadmin:phpmyadmin:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 6
|
|
vendor: phpmyadmin
|
|
product: phpmyadmin
|
|
shodan-query: html:"server_databases.php"
|
|
fofa-query: body="server_databases.php"
|
|
tags: misconfig,phpmyadmin,unauth,vuln
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET {{path}} HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
payloads:
|
|
path:
|
|
- "/index.php"
|
|
- "/pma/index.php"
|
|
- "/pmd/index.php"
|
|
- "/phpMyAdmin/index.php"
|
|
- "/phpmyadmin/index.php"
|
|
- "/_phpmyadmin/index.php"
|
|
|
|
attack: batteringram
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'server_sql.php'
|
|
- 'server_status.php'
|
|
- 'server_variables.php'
|
|
- 'server_databases.php'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- 'Set-Cookie: phpMyAdmin='
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- 'text/html'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a0047304502207e9fa10d7b23b476b2d1578163bb90654bf723606fd5bcda5e09b5ddc1e8f75202210090a4cc7315329a8928681152f31a3767139315bdfaf4d7ef8ae4c5f5dbbe0b51:922c64590222798bb761d5b6d8e72950 |