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

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.17% (55th 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-TOPTHINKFRAMEWORK-5805414
  • published 26 Jul 2023
  • disclosed 14 May 2022
  • credit Unknown

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
Expand this section

Snyk

Recommended
8.3 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    Low