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

EPSS: 0.017 (74.2th 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-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.