Vulnerability · Published Sep 28, 2021 · Assigned by mitre
CVE-2020-20120
Critical 9.8
In plain English
A critical-severity security flaw in the topthink/thinkphp package (Packagist). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities).
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.8%top 21.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
ThinkPHP v3.2.3 and below contains a SQL injection vulnerability which is triggered when the array is not passed to the "where" and "query" methods.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | topthink/thinkphp | no fix listed | GHSA-m7h5-fjjq-559f |
Affected products (as reported)
References
- https://github.com/top-think/thinkphp/issues/553 x_refsource_MISC