{"id":"GHSA-78q9-24gv-g288","aliases":["CVE-2018-18529"],"title":"ThinkPHP SQLi Vulnerability","description":"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.","severity":"critical","score":9.8,"published":"2022-05-14T01:53:42.000Z","modified":"2023-11-08T04:00:05.609Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"topthink/framework","ranges":[{"events":[{"introduced":"0"},{"last_affected":"3.2.4"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":[]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2018-18529","https://www.kingkk.com/2018/10/Thinkphp-%E8%81%9A%E5%90%88%E6%9F%A5%E8%AF%A2%E6%BC%8F%E6%B4%9E/#ThinkPHP3-lt-3-2-4"],"sources":[{"name":"OSV","id":"GHSA-78q9-24gv-g288","modified":"2023-11-08T04:00:05.609675Z","url":"https://osv.dev/vulnerability/GHSA-78q9-24gv-g288"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8}]}