Vulnerabilities · 2018 · Thinkphp
CVE-2018-18530
Thinkphp vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Thinkphp. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Thinkphp runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Thinkphp products
CVE-2025-63889CVE-2025-63888CVE-2025-50707CVE-2025-50706CVE-2024-48112CVE-2024-44902CVE-2024-34467CVE-2022-47945All 26
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.