Remote Code Execution (RCE) Affecting yiisoft/yii2-gii package, versions <2.2.2
Snyk CVSS
Attack Complexity
Low
Privileges Required
High
Confidentiality
High
Integrity
High
Availability
High
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.3% (65th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PHP-YIISOFTYII2GII-3244370
- published 22 Jan 2023
- disclosed 22 Jan 2023
- credit d90pwn
Introduced: 22 Jan 2023
CVE-2020-36655 Open this link in a new tabHow to fix?
Upgrade yiisoft/yii2-gii
to version 2.2.2 or higher.
Overview
Affected versions of this package are vulnerable to Remote Code Execution (RCE). Allows remote attackers with access to the https://localhost/gii/ endpoint to execute arbitrary code via the Generator.php
messageCategory
field. The attacker can embed arbitrary PHP code into the model file.