GitHub Advisoryadvisory · Packagist

GHSA-hhg2-g6h6-c266 Yii SQL injection vulnerability

CRITICAL Published 2022-05-24 Modified 2024-04-24 Official page ↗
Aliases
CVE-2018-7269
Ecosystem
Packagist
Packages
yiisoft/yii2-dev
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-89
Reviewed
2024-04-24

Affected packages

• Packagist yiisoft/yii2-dev: < 2.0.12.1 → fixed in 2.0.12.1 • Packagist yiisoft/yii2-dev: >= 2.0.13, < 2.0.13.2 → fixed in 2.0.13.2 • Packagist yiisoft/yii2-dev: >= 2.0.14, < 2.0.15 → fixed in 2.0.15

Description

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.

Related

Alias · CVE (1)

  • CVE-2018-7269 The findByCondition function in framework/db/ActiveRecord.php in Yii 2.x before 2.0.15 allows remote attackers to conduct SQL injection… vulnerability

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References