GitHub Advisoryadvisory · Packagist

GHSA-78q9-24gv-g288 ThinkPHP SQLi Vulnerability

CRITICAL Published 2022-05-14 Modified 2023-07-25 Official page ↗
Aliases
CVE-2018-18529
Ecosystem
Packagist
Packages
topthink/framework
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-89
Reviewed
2023-07-25

Affected packages

• Packagist topthink/framework: <= 3.2.4 (no fix yet)

Description

ThinkPHP 3.2.4 has 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.

Related

Alias · CVE (1)

  • CVE-2018-18529 ThinkPHP 3.2.4 has SQL Injection via the count parameter because the Library/Think/Db/Driver/Mysql.class.php parseKey function mishandles… vulnerability

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References