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 (75.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 75.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: 0.000
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)
Frequently asked questions
- What is CVE-2018-18546?
- CVE-2018-18546 is a critical-severity vulnerability in Thinkphp, classified under SQL Injection. CVSS score: 9.8/10. Published 2018-10-21.
- How severe is CVE-2018-18546?
- Critical severity. CVSS v3 base score is 9.8 out of 10.