Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. zoujingli/thinkadmin
  4. ›
  5. CVE-2020-25540

CVE-2020-25540: ThinkAdmin directory traversal vulnerability

May 24, 2022 (updated May 15, 2025)

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.

References

  • github.com/advisories/GHSA-2qm5-r82g-5hcx
  • github.com/zoujingli/ThinkAdmin
  • github.com/zoujingli/ThinkAdmin/commit/ff2ab47cfabd4784effbf72a2a386c5d25c43a9a
  • github.com/zoujingli/ThinkAdmin/issues/244
  • nvd.nist.gov/vuln/detail/CVE-2020-25540
  • 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

Code Behaviors & Features

Detect and mitigate CVE-2020-25540 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 6.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

packagist/zoujingli/thinkadmin/CVE-2020-25540.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 09 Sep 2025 00:18:03 +0000.