Unrestricted Upload of File with Dangerous Type 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-6282943
  • 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 Unrestricted Upload of File with Dangerous Type due to an unknown function of the file /app/controller/Setup.php. An attacker can upload arbitrary files without restriction by manipulating the file upload process.

Note: This could lead to further attacks depending on the nature of the uploaded files.

References

CVSS Scores

version 3.1
Expand this section

Snyk

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