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

CVE-2024-34467: ThinkPHP allows remote attackers to discover the PHPSESSION cookie

May 4, 2024 (updated May 6, 2024)

ThinkPHP 8.0.3 allows remote attackers to discover the PHPSESSION cookie because think_exception.tpl (aka the debug error output source code) provides this in an error message for a crafted URI in a GET request.

References

  • github.com/advisories/GHSA-969f-v7jv-pgj3
  • github.com/top-think/framework
  • github.com/top-think/framework/commit/403358cd3e510e2fdab63f951930bdd093314eee
  • github.com/top-think/framework/commit/57d1950a1844ef8d3098ea290032aeb92e2e32c3
  • github.com/top-think/framework/commit/d3904e51e279c3b72ee206192aeccf9b1cffb534
  • github.com/top-think/framework/issues/2996
  • nvd.nist.gov/vuln/detail/CVE-2024-34467

Code Behaviors & Features

Detect and mitigate CVE-2024-34467 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

All versions before 6.0.17, all versions starting from 6.1.0 before 6.1.5, all versions starting from 8.0.0 before 8.0.4

Fixed versions

  • 8.0.4
  • 6.1.5
  • 6.0.17

Solution

Upgrade to versions 6.0.17, 6.1.5, 8.0.4 or above.

Impact 6.1 MEDIUM

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

Learn more about CVSS

Source file

packagist/topthink/framework/CVE-2024-34467.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:56 +0000.