{"id":"CVE-2018-7269","published":"2018-03-21T18:00:00Z","modified":"2024-08-05T06:24:11Z","title":"The findByCondition function in framework/db/ActiveRecord.php in Yii 2.x before 2.0.15 allows remote attackers to…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01897,"percentile":0.80152,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":16.03}]},"affected":[{"ecosystem":"Packagist","package":"yiisoft/yii2-dev","vulnerableRanges":["<2.0.12.1",">=2.0.13, <2.0.13.2",">=2.0.14, <2.0.15"],"patched":["2.0.12.1","2.0.13.2","2.0.15"],"from":["GHSA-hhg2-g6h6-c266"],"provenance":"source"}],"summary":{"text":"The findByCondition function in framework/db/ActiveRecord.php within the Yii 2.x framework, prior to version 2.0.15, is the component where this flaw lives. A remote attacker can inject SQL through findOne() or findAll() calls, provided the application passes array input to these methods and the developer has not added sanitisation for that input, which the framework does not document as necessary.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:38:02Z"},"euvd":{"id":"EUVD-2022-4155","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-11516","published":"2017-07-21","fixed":"2.0.13","kev":false,"link":{"from":"CVE-2017-11516","to":"CVE-2018-7269","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:yiisoft/yii2-dev","fromFixed":"2.0.13","toFixed":"2.0.13.2","daysApart":243}]}},{"cve":"CVE-2018-6009","published":"2018-01-22","fixed":"2.0.14","kev":false,"link":{"from":"CVE-2018-6009","to":"CVE-2018-7269","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:yiisoft/yii2-dev","fromFixed":"2.0.14","toFixed":"2.0.15","daysApart":58}]}},{"cve":"CVE-2018-7269","published":"2018-03-21","fixed":"2.0.15","kev":false},{"cve":"CVE-2018-8074","published":"2018-03-21","fixed":"2.0.15","kev":false},{"cve":"CVE-2021-3689","published":"2021-08-10","fixed":"2.0.43","kev":false},{"cve":"CVE-2021-3692","published":"2021-08-10","fixed":"2.0.43","kev":false}],"package":"Packagist:yiisoft/yii2-dev"}}