CVE-2020-36655
High
Description
Yii Yii2 Gii before 2.2.2 allows remote attackers to execute arbitrary code via the Generator.php messageCategory field. The attacker can embed arbitrary PHP code into the model file.
SeverityHigh
CVSS8.8
Exploit probability—
ProductYiiframework Gii
PublishedJan 21, 2023
First seenJan 21, 2023
Weakness typeCWE-94Code injection
How to fix
Update
- yiiframework gii2.2.2 or later
- yiisoft/yii2-gii2.2.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| yiiframework gii | v < 2.2.2 | 2.2.2 |
| yiisoft/yii2-giiPackagist | v < 2.2.2 | 2.2.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.