GitHub Advisory Database
GHSA-7xfj-4jpg-58vf
ThinkPHP SQLi Vulnerability
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | topthink/framework | All versions up to and including 5.1.25 |