PT-2026-39402 · Unknown · Yii Framework
CVSS v3.1
7.4
High
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Yii 2 versions prior to 2.0.55
Description
Flawed logic in the core view rendering method
View::renderPhpFile() leads to Local File Inclusion. The function executes extract($ params , EXTR OVERWRITE) before the require statement used to load the view file. Consequently, a caller-controlled file key within the $params array can overwrite the internal local variable that determines which file is included. This can result in information disclosure or Remote Code Execution (RCE) if an attacker can write PHP files to the system through a separate primitive.Recommendations
Update to version 2.0.55.
Exploit
Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Yii Framework