SQL Injection Affecting topthink/framework package, versions <=3.2.4


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.21% (60th 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-TOPTHINKFRAMEWORK-5805414
  • published26 Jul 2023
  • disclosed14 May 2022
  • creditUnknown

Introduced: 14 May 2022

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

How to fix?

There is no fixed version for topthink/framework.

Overview

topthink/framework is a The ThinkPHP Framework.

Affected versions of this package are vulnerable to SQL Injection via the count parameter because the Library/Think/Db/Driver/Mysql.class.php parseKey function mishandles the key variable.

Note: A backquote character is not required in the attack URI.

References

CVSS Scores

version 3.1