SQL Injection in Thinkphp

CVE-2018-18529

ThinkPHP 3.2.4 has SQL Injection via the count parameter because the Library/Think/Db/Driver/Mysql.class.php parseKey function mishandles the key variable. NOTE: a backquote character is not required in the attack URI.

Vulnerability class: SQL Injection

EPSS: 0.012 (65.1th percentile) — read the EPSS interpretation.

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.

Affected products

  • Thinkphp — versions 3.2.4
  • N/a — versions n/a

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-18529?
CVE-2018-18529 is a critical-severity vulnerability in Thinkphp, classified under SQL Injection. CVSS score: 9.8/10. Published 2018-10-19.
How severe is CVE-2018-18529?
Critical severity. CVSS v3 base score is 9.8 out of 10.