2023-03-10 20:24:54 +00:00
|
|
|
id: adminer-panel-detect
|
2022-04-22 10:38:41 +00:00
|
|
|
|
2021-03-24 08:48:41 +00:00
|
|
|
info:
|
2023-03-08 15:50:45 +00:00
|
|
|
name: Adminer Login Panel - Detect
|
2021-06-09 12:20:56 +00:00
|
|
|
author: random_robbie,meme-lord
|
2021-03-24 08:48:41 +00:00
|
|
|
severity: info
|
2023-03-08 15:50:45 +00:00
|
|
|
description: Adminer login panel was detected.
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://blog.sorcery.ie/posts/adminer/
|
2023-03-07 23:05:46 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
2023-10-14 11:27:55 +00:00
|
|
|
cvss-score: 0
|
2023-03-07 23:05:46 +00:00
|
|
|
cwe-id: CWE-200
|
2021-03-24 08:48:41 +00:00
|
|
|
# <= 4.2.4 can have unauthenticated RCE via SQLite driver
|
|
|
|
# <= 4.6.2 can have LFI via MySQL LOAD DATA LOCAL
|
|
|
|
# Most versions have some kind of SSRF usability
|
|
|
|
# Is generally handy if you find SQL creds
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 741
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: fuzz,adminer,login
|
2021-03-24 08:48:41 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-08-22 18:09:33 +00:00
|
|
|
- raw:
|
2021-03-24 08:48:41 +00:00
|
|
|
- |
|
|
|
|
GET {{path}} HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Accept: application/json, text/plain, */*
|
|
|
|
Referer: {{BaseURL}}
|
|
|
|
|
2021-08-22 18:09:33 +00:00
|
|
|
payloads:
|
|
|
|
path: helpers/wordlists/adminer-paths.txt
|
|
|
|
|
|
|
|
threads: 50
|
2021-09-02 11:59:10 +00:00
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-03-24 08:48:41 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
2021-10-10 01:13:30 +00:00
|
|
|
condition: and
|
2021-03-24 08:48:41 +00:00
|
|
|
words:
|
2021-07-21 12:19:16 +00:00
|
|
|
- "- Adminer</title>"
|
2021-10-10 01:13:30 +00:00
|
|
|
- "partial(verifyVersion"
|
|
|
|
|
2021-03-24 08:48:41 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- '<span class="version">([0-9.]+)'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100e68319e1df84e5ea1938909ae5ad1c20c73041811c6b2f05a6b8ad1d0abd8c2f022079ef71d65ab71ebdbe2aaf5e858f0d7ef204d4d9b11da892414f1da2aa4718a3:922c64590222798bb761d5b6d8e72950
|