Yii 2: Local file inclusion via view parameter name collision
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| yiisoft | yii2 | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Yiisoft | Yii2 |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-5vpg-rj7q-qpw2 | Yii 2: Local file inclusion via view parameter name collision |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.455% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Yiisoft
Yiisoft yii2 |
|
| Vendors & Products |
Yiisoft
Yiisoft yii2 |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Yii 2 is a PHP application framework. Versions 2.0.54 and prior contain flawed logic in the core view rendering method View::renderPhpFile() that leads to Local File Inclusion. The function calls extract($_params_, EXTR_OVERWRITE) before the require statement that loads the view file. As a result, a caller-controlled _file_ key in the $params array overwrites the internal local variable specifying which file to include, potentially enabling RCE if an attacker can write PHP files through a separate primitive, as well as information disclosure. This issue has been fixed in version 2.0.55. | |
| Title | Yii 2: Local file inclusion via view parameter name collision | |
| Weaknesses | CWE-20 CWE-98 |
|
| References |
| |
| Metrics |
cvssV3_1
|