nuclei-templates/exposed-panels/adminer-panel.yaml

41 lines
968 B
YAML

id: adminer-panel
info:
name: Adminer Login panel
author: random-robbie & meme-lord
severity: info
reference: https://blog.sorcery.ie/posts/adminer/
tags: panel
# <= 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
requests:
- method: GET
path:
- '{{BaseURL}}/_adminer.php'
- '{{BaseURL}}/adminer/'
- '{{BaseURL}}/adminer.php'
- '{{BaseURL}}/editor.php'
- '{{BaseURL}}/mysql.php'
- '{{BaseURL}}/sql.php'
- '{{BaseURL}}/wp-content/plugins/adminer/adminer.php'
matchers-condition: and
matchers:
- type: word
words:
- "Login - Adminer"
- type: status
status:
- 200
extractors:
- type: regex
part: body
group: 1
regex:
- '<span class="version">([0-9.]+)'