Vulnerabilities · 2018 · Yiiframework
CVE-2018-7269
Yiiframework Yii vulnerability
The findByCondition function in framework/db/ActiveRecord.php in Yii 2.x before 2.0.15 allows remote attackers to conduct SQL injection attacks via a findOne() or findAll() call, unless a developer recognizes an undocumented need to sanitize array input.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Yii. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Yiiframework Yii 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
- www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-f · Vendor Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-7269
- github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2-dev/CVE-2018-7269.yam
- www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-f
- github.com/advisories/GHSA-hhg2-g6h6-c266
- nvd.nist.gov/vuln/detail/CVE-2018-7269
- cve.org/CVERecord?id=CVE-2018-7269
More vulnerabilities in Yiiframework products
CVE-2025-48493CVE-2025-32027CVE-2025-2690CVE-2025-2689CVE-2024-58136CVE-2024-32877CVE-2024-4990CVE-2023-50714All 28
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.