CVE-2018-18530

CRITICAL

ThinkPHP 5.1.25 - SQL Injection via Count Parameter

Title source: llm
STIX 2.1

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.

References (1)

Core 1

Scores

CVSS v3 9.8
EPSS 0.0120
EPSS Percentile 64.8%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-89
Status published
Products (2)
thinkphp/thinkphp 5.1.25
topthink/framework 0Packagist
Published Oct 19, 2018
Tracked Since Feb 18, 2026