46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
id: pma-server-import
|
|
|
|
info:
|
|
name: PhpMyAdmin Server Import Page - Detect
|
|
author: Cristi vlad (@cristivlad25)
|
|
severity: high
|
|
description: Multiple phpMyAdmin server import pages were detected.
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
|
cvss-score: 7.5
|
|
cwe-id: CWE-200
|
|
metadata:
|
|
max-request: 10
|
|
tags: phpmyadmin,misconfig
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}{{paths}}"
|
|
payloads:
|
|
paths:
|
|
- "/pma/server_import.php"
|
|
- "/phpmyadmin/server_import.php"
|
|
- "/phpMyAdmin 2/server_import.php"
|
|
- "/db/server_import.php"
|
|
- "/server_import.php"
|
|
- "/PMA/server_import.php"
|
|
- "/admin/server_import.php"
|
|
- "/admin/pma/server_import.php"
|
|
- "/phpMyAdmin/server_import.php"
|
|
- "/admin/phpMyAdmin/server_import.php"
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
condition: and
|
|
words:
|
|
- "File to import"
|
|
- "Location of the text file"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a00473045022035712d505d4cee813cd3d6524b7bc1262826997399dfab63bea44a753da18b34022100816626ea6a9b8cca7c10fe013a9934c9f734439eb420d6688f8f5b5bd41b0378:922c64590222798bb761d5b6d8e72950 |