PT-2018-17988 · Yii · Yii

Analitic1983

·

Published

2018-03-21

·

Updated

2022-05-24

·

CVE-2018-7269

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Yii 2.x versions prior to 2.0.15
Description The issue allows remote attackers to conduct SQL injection attacks via a findOne() or findAll() call, specifically through the findByCondition function in framework/db/ActiveRecord.php, unless the developer sanitizes array input.
Recommendations For versions prior to 2.0.15, update to version 2.0.15 or later to resolve the issue. As a temporary workaround, consider sanitizing array input to the findByCondition function to minimize the risk of SQL injection attacks.

Exploit

Fix

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2018-7269
GHSA-HHG2-G6H6-C266

Affected Products

Yii