SQL Injection Affecting topthink/think package, versions <5.1.24


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (74th 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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-TOPTHINKTHINK-72407
  • published27 Sept 2018
  • disclosed26 Sept 2018
  • creditghost

Introduced: 26 Sep 2018

CVE-2018-17566  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade topthink/think to version 5.1.24 or higher.

Overview

topthink/think is the new thinkphp framework.

Affected versions of this package are vulnerable to SQL Injection via the delete inner function. When its WHERE condition's value, it can be controlled by a user's request.

CVSS Scores

version 3.1