CVE-2020-25540 ThinkAdmin directory traversal vulnerability

High 7.5 Published Updated

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.

PackageAffectedFixed in
zoujingli/thinkadmin PackagistAll versionsNone
zoujingli/thinkadmin PackagistAll versionsNone

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.

Sources

Also known as GHSA-2qm5-r82g-5hcx.

Is CVE-2020-25540 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free