Description
ThinkPHP 3.2.4 has SQL Injection via the order parameter because the Library/Think/Db/Driver.class.php parseOrder function mishandles the key variable.
References (2)
Core 2
Core References
Patch, Vendor Advisory x_refsource_misc
https://github.com/top-think/thinkphp/commit/9748cb80d2f24c89218f358ca2f5ab88ee33396f
Exploit, Third Party Advisory x_refsource_misc
https://98587329.github.io/2018/10/09/thinkphp%E6%B3%A8%E5%85%A5%E5%88%86%E6%9E%90/
Scores
CVSS v3
9.8
EPSS
0.0035
EPSS Percentile
57.6%
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
3.2.4
topthink/framework
0Packagist
Published
Oct 21, 2018
Tracked Since
Feb 18, 2026