Skip to main content
← All vulnerabilities
CVE-2018-7269GHSA-HHG2-G6H6-C266

The findByCondition function in framework/db/ActiveRecord.php in Yii 2.x before 2.0.15 allows remote attackers to conduct SQL injection atta

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.12.1, 2.0.13.2, 2.0.15
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • yiisoft/yii2-devPackagist

    fixed in 2.0.12.1

  • yiisoft/yii2-devPackagist

    From 2.0.13 · fixed in 2.0.13.2

  • yiisoft/yii2-devPackagist

    From 2.0.14 · fixed in 2.0.15

References 1

yiiframework.com