Vulnerabilities · 2020 · Yiiframework
CVE-2020-36655
Yiiframework Gii vulnerability
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 products
Gii. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Yiiframework Gii runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- lab.wallarm.com/yii2-gii-remote-code-execution/ · Exploit
- github.com/yiisoft/yii2-gii/issues/433 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2020-36655
- github.com/yiisoft/yii2-gii/commit/ed61e0d85f43e23f79d7c9d1b4e5e5c09a32ce4b
- lab.wallarm.com/yii2-gii-remote-code-execution
- github.com/advisories/GHSA-3mpg-q26j-83j5
- nvd.nist.gov/vuln/detail/CVE-2020-36655
- cve.org/CVERecord?id=CVE-2020-36655
More vulnerabilities in Yiiframework products
CVE-2025-48493CVE-2025-32027CVE-2025-2690CVE-2025-2689CVE-2024-58136CVE-2024-32877CVE-2024-4990CVE-2023-50714All 28
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.