hoch8.8
CVE-2020-36655
Command injection in yiisoft/yii2-gii
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| composer | yiisoft/yii2-gii | < 2.2.2 | 2.2.2 |
Betroffene Produkte · Yiiframework
| Produkt | Betroffene Versionen |
|---|---|
| Gii | vor 2.2.2 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/yiisoft/yii2-gii/issues/433
- https://lab.wallarm.com/yii2-gii-remote-code-execution/
- https://github.com/advisories/GHSA-3mpg-q26j-83j5
- https://nvd.nist.gov/vuln/detail/CVE-2020-36655
- https://github.com/yiisoft/yii2-gii/commit/ed61e0d85f43e23f79d7c9d1b4e5e5c09a32ce4b
- https://lab.wallarm.com/yii2-gii-remote-code-execution