Unrestricted Upload of File with Dangerous Type The advisory has been revoked - it doesn't affect any version of package topthink/think  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.61% (51st 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 IDSNYK-PHP-TOPTHINKTHINK-6282943
  • published28 Feb 2024
  • disclosed27 Feb 2024
  • creditglzjin

Introduced: 27 Feb 2024

CVE-2024-1921  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

There is no fixed version for topthink/think.

Amendment

This was deemed not a vulnerability.

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