First published: Fri Oct 19 2018(Updated: )
ThinkPHP 5.1.25 has SQL Injection via the count parameter because the library/think/db/Query.php aggregate function mishandles the aggregate variable. NOTE: a backquote character is required in the attack URI.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
ThinkPHP ThinkPHP | =5.1.25 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2018-18530 is critical with a CVSS score of 9.8.
CVE-2018-18530 allows SQL Injection by exploiting a vulnerability in the ThinkPHP library/think/db/Query.php aggregate function.
ThinkPHP version 5.1.25 is affected by CVE-2018-18530.
Yes, a backquote character is required in the attack URI for CVE-2018-18530.
To fix CVE-2018-18530, update to a version of ThinkPHP that is not affected by the vulnerability.