nuclei-templates/http/vulnerabilities/phpmyadmin-unauth.yaml

58 lines
1.2 KiB
YAML
Raw Normal View History

2023-03-14 06:56:32 +00:00
id: phpmyadmin-unauth-access
2023-03-13 12:16:19 +00:00
info:
2023-03-14 06:56:32 +00:00
name: PhpMyAdmin - Unauthenticated Access
2023-03-13 12:16:19 +00:00
author: pwnhxl
severity: high
2023-03-14 06:56:32 +00:00
description: Unauthenticated Access to phpmyadmin dashboard.
2023-03-13 12:16:19 +00:00
reference:
- https://www.phpmyadmin.net
metadata:
max-request: 6
2023-06-04 08:13:42 +00:00
verified: true
2023-03-14 06:56:32 +00:00
shodan-query: html:"server_databases.php"
2023-03-13 12:16:19 +00:00
fofa-query: body="server_databases.php"
2023-03-14 06:56:32 +00:00
tags: misconfig,phpmyadmin,unauth
2023-03-13 12:16:19 +00:00
http:
2023-03-13 12:16:19 +00:00
- 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"
2023-03-14 06:56:32 +00:00
attack: batteringram
2023-03-13 12:16:19 +00:00
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