CVE-2020-36655: Code Injection
Published Jan 21, 2023
·Updated
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.
Affected Software
2 affected componentsFixes available
Yiiframework Gii Yii2<2.2.2
composer/yiisoft/yii2-gii<2.2.2
2.2.2
Event History
Jan 21, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Advisory Published
via GitHub·03:30 AM
Frequently Asked Questions
1
What is the vulnerability ID for this issue?
The vulnerability ID for this issue is CVE-2020-36655.
2
What is the severity of CVE-2020-36655?
The severity of CVE-2020-36655 is high (8.8).
3
How does CVE-2020-36655 allow attackers to execute arbitrary code?
CVE-2020-36655 allows remote attackers to execute arbitrary code by embedding PHP code into the model file through the Generator.php messageCategory field.
4
Which version of Yii2 Gii is affected by CVE-2020-36655?
Yii2 Gii before version 2.2.2 is affected by CVE-2020-36655.
5
How can I fix CVE-2020-36655?
To fix CVE-2020-36655, upgrade to Yii2 Gii version 2.2.2 or newer.