Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. topthink/framework
  4. ›
  5. CVE-2022-25481

CVE-2022-25481: Exposure of Resource to Wrong Sphere

March 21, 2022 (updated March 29, 2022)

ThinkPHP Framework v5.0.24 was discovered to be configured without the PATHINFO parameter. This allows attackers to access all system environment parameters from index.php.

References

  • github.com/Lyther/VulnDiscover/blob/master/Web/ThinkPHP_InfoLeak.md
  • nvd.nist.gov/vuln/detail/CVE-2022-25481

Code Behaviors & Features

Detect and mitigate CVE-2022-25481 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 5.0.24

Fixed versions

  • 5.1.0

Solution

Upgrade to version 5.1.0 or above.

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-668: Exposure of Resource to Wrong Sphere

Source file

packagist/topthink/framework/CVE-2022-25481.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:57 +0000.