GHSA-j7g8-3qqg-8cvmcritical9.8
ThinkPHP SQLi Vulnerability
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
topthink/framework Packagist
| Affected range | Recorded fix |
|---|---|
| Earlier releases through 3.2.4 (inclusive)Ecosystem versions | Not recorded |
Version evidence: OSV · GHSA-j7g8-3qqg-8cvm
View original version evidence (0 explicit versions)
Original source description
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.