Affected versions
Composeryiisoft/yii2-gii
- Affected versions
- < 2.2.2
- Fixed version
- 2.2.2
Exploitation
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.
Links
- https://github.com/advisories/GHSA-3mpg-q26j-83j5
- https://github.com/yiisoft/yii2-gii
- https://github.com/yiisoft/yii2-gii/commit/ed61e0d85f43e23f79d7c9d1b4e5e5c09a32ce4b
- https://github.com/yiisoft/yii2-gii/issues/433
- https://lab.wallarm.com/yii2-gii-remote-code-execution
- https://nvd.nist.gov/vuln/detail/CVE-2020-36655

