CVE-2020-25540 ThinkAdmin directory traversal vulnerability
An unauthorized attacker can read arbitrary files on the remote server via a directory traversal vulnerability in ThinkAdmin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-25540?
CVE-2020-25540 is a high-severity path traversal vulnerability in n/a, published on 14 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2020-25540?
2 open source packages ship an affected version, including zoujingli/thinkadmin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
zoujingli/thinkadmin Packagist | All versions | None |
zoujingli/thinkadmin Packagist | All versions | None |
Products include Thinkadmin Thinkadmin.
How do I fix CVE-2020-25540?
No fix has been published for CVE-2020-25540 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2020-25540 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-25540 exists.
Public exploit code: 1 Exploit-DB entry, 1 Nuclei template and 4 proofs of concept on GitHub.
Other vulnerabilities in n/a
- CVE-2020-23653 ThinkAdmin insecure unserialize vulnerability
- CVE-2019-11018 ThinkAdmin Administrator cookies still working after password change
- CVE-2023-48965 File upload in n/a
- CVE-2023-48966 ThinkAdmin arbitrary file upload vulnerability
- CVE-2020-35296 ThinkAdmin Admin Panel Access using Default Credentials
Sources
Also known as GHSA-2qm5-r82g-5hcx.