Use of Hard-coded Cryptographic Key Affecting topthink/think package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-TOPTHINKTHINK-6282942
  • published 28 Feb 2024
  • disclosed 27 Feb 2024
  • credit glzjin

How to fix?

There is no fixed version for topthink/think.

Overview

topthink/think is a the new thinkphp framework.

Affected versions of this package are vulnerable to Use of Hard-coded Cryptographic Key due to the improper handling of the file /app/middleware/TokenVerify.php. An attacker can compromise the security of communications by exploiting the hard-coded cryptographic key.

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.6 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    Low