SQL Injection in Thinkphp
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 aggregate variable. NOTE: a backquote character is required in the attack URI.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.012, 68.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Thinkphp — versions 5.1.25
Weakness classification (CWE)
References
- www.kingkk.com/2018/10/Thinkphp-聚合查询漏洞/ (Exploit, Third Party Advisory)