2020-09-08 07:08:41 +00:00
|
|
|
id: adminer-panel
|
2020-09-08 06:55:38 +00:00
|
|
|
info:
|
2020-09-08 07:08:41 +00:00
|
|
|
name: Adminer Login panel
|
2021-06-09 12:20:56 +00:00
|
|
|
author: random_robbie,meme-lord
|
2021-03-15 10:09:07 +00:00
|
|
|
severity: info
|
|
|
|
reference: https://blog.sorcery.ie/posts/adminer/
|
2021-04-06 07:25:57 +00:00
|
|
|
tags: panel
|
2020-09-08 06:55:38 +00:00
|
|
|
|
2021-03-11 20:53:30 +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
|
2020-09-08 06:55:38 +00:00
|
|
|
|
2020-09-08 07:08:41 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2021-03-11 20:53:30 +00:00
|
|
|
- '{{BaseURL}}/_adminer.php'
|
|
|
|
- '{{BaseURL}}/adminer/'
|
2021-03-15 10:09:07 +00:00
|
|
|
- '{{BaseURL}}/adminer.php'
|
2021-03-11 20:53:30 +00:00
|
|
|
- '{{BaseURL}}/editor.php'
|
|
|
|
- '{{BaseURL}}/mysql.php'
|
|
|
|
- '{{BaseURL}}/sql.php'
|
2020-09-08 06:55:38 +00:00
|
|
|
- '{{BaseURL}}/wp-content/plugins/adminer/adminer.php'
|
2020-09-08 07:08:41 +00:00
|
|
|
|
2021-09-02 11:59:10 +00:00
|
|
|
stop-at-first-match: true
|
2020-09-08 07:08:41 +00:00
|
|
|
matchers-condition: and
|
2020-09-08 06:55:38 +00:00
|
|
|
matchers:
|
2020-09-08 07:08:41 +00:00
|
|
|
|
2020-09-08 06:55:38 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "Login - Adminer"
|
2020-09-08 07:08:41 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2021-03-11 20:53:30 +00:00
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
regex:
|
2021-03-15 10:09:07 +00:00
|
|
|
- '<span class="version">([0-9.]+)'
|