Vulnerability record · CVE-2020-25540 · published 14 September 2020
CVE-2020-25540: ThinkAdmin v6 directory traversal allows arbitrary file read
Thinkadmin · Thinkadmin
ThinkAdmin v6 contains a directory traversal flaw (CWE-22) reachable through a GET request's encode parameter. An unauthenticated attacker can read arbitrary files on the remote server. Because no authentication or user interaction is required and confidentiality impact is high, exposed instances are at serious risk of sensitive file disclosure.
Description
ThinkAdmin v6 is affected by a directory traversal vulnerability. An unauthorized attacker can read arbitrarily file on a remote server via GET request encode parameter.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Automated analysis
high priorityUnauthenticated remote arbitrary file read with a high EPSS score and public exploit references, though not listed in CISA KEV.
What it is
ThinkAdmin v6 contains a directory traversal flaw (CWE-22) reachable through a GET request's encode parameter. An unauthenticated attacker can read arbitrary files on the remote server. Because no authentication or user interaction is required and confidentiality impact is high, exposed instances are at serious risk of sensitive file disclosure.
Impact
An attacker gains read access to arbitrary files on the server, which can expose configuration files, credentials, and application source code. There is no integrity or availability impact per the CVSS vector.
Attack surface
Reached over the network via a crafted GET request to the vulnerable encode parameter; the CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates no authentication and no user interaction are required.
Exploitation
CISA KEV does not list this CVE, but public exploit references are tagged 'Exploit' and EPSS shows a 30-day probability of 0.75332 (99.489th percentile), indicating high likelihood of exploitation activity.
What to do
- Upgrade ThinkAdmin to a version that fixes the directory traversal issue; if no fixed version is documented, apply the vendor's guidance from the referenced issue.
- Validate and sanitize the encode parameter, rejecting path traversal sequences and restricting file access to an allowlisted directory.
- Restrict network exposure of ThinkAdmin instances to trusted networks or place them behind an authenticated reverse proxy.
- Run the web service with least privilege and limit filesystem read permissions so traversal cannot reach sensitive files.
Detection
- Monitor web logs for GET requests containing traversal sequences (e.g., ../, ..%2f, encoded variants) in the encode parameter.
- Alert on requests to ThinkAdmin endpoints that return unusually large responses or file-like content types.
- Use file integrity or access monitoring to detect reads of sensitive files (configuration, credential stores) by the web process.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://packetstormsecurity.com/files/159177/ThinkAdmin-6-Arbitrary-File-Read.html | Third Party Advisory |
| https://github.com/zoujingli/ThinkAdmin/issues/244 | ExploitThird Party Advisory |
| 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%9 | ExploitThird Party Advisory |
| http://packetstormsecurity.com/files/159177/ThinkAdmin-6-Arbitrary-File-Read.html | Third Party Advisory |
| https://github.com/zoujingli/ThinkAdmin/issues/244 | ExploitThird Party Advisory |
| 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%9 | ExploitThird Party Advisory |
Track CVE-2020-25540 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2020-25540), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.