SQL Injection in Thinkphp
CVE-2018-18546
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.
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.017, 77.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Thinkphp — versions 3.2.4
Weakness classification (CWE)
References
- github.com/top-think/thinkphp/commit/9748cb80d2f24c89218f358ca2f5ab88ee33396f (Patch, Vendor Advisory)
- 98587329.github.io/2018/10/09/thinkphp注入分析/ (Exploit, Third Party Advisory)