CVE-2018-7269
Potential SQL injection in methods `yii\db\ActiveRecord::findOne()` and `::findAll()`
Overview
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.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-89
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Composer (PHP) | yiisoft/yii2 | >=2.0.14, <2.0.15<2.0.12.1>=2.0.13, <2.0.13.2 | No fix yet |
| Composer (PHP) | yiisoft/yii2-dev | <2.0.12.1>=2.0.13, <2.0.13.2>=2.0.14, <2.0.15 | 2.0.12.12.0.13.22.0.15 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- www.yiiframework.com http://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes/
- github.com https://github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2-dev/CVE-2018-7269.yaml
- github.com https://github.com/yiisoft/yii2
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-7269
- www.yiiframework.com https://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes
- www.yiiframework.com https://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.