GitHub Advisoryadvisory · Packagist

GHSA-7xfj-4jpg-58vf ThinkPHP SQLi Vulnerability

CRITICAL Published 2022-05-14 Modified 2023-07-25 Official page ↗
Aliases
CVE-2018-18530
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: <= 5.1.25 (no fix yet)

Description

ThinkPHP 5.1.25 has SQL Injection via the count parameter because the library/think/db/Query.php aggregate function mishandles the aggregate variable. NOTE: a backquote character is required in the attack URI.

Related

Alias · CVE (1)

  • CVE-2018-18530 ThinkPHP 5.1.25 has SQL Injection via the count parameter because the library/think/db/Query.php aggregate function mishandles the… vulnerability

Weakness · CWE (1)

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

References