نسخههای متأثر
Composeryiisoft/yii2
- نسخههای متأثر
- < 2.0.55
- نسخهٔ اصلاحشده
- 2.0.55
بهرهبرداری
شرح آسیبپذیری
The core view rendering method View::renderPhpFile() calls extract($_params_, EXTR_OVERWRITE) before the require statement that includes the view file. A caller-controlled parameter named _file_ in the $params array overwrites the internal local variable that specifies which file is included — enabling a Local File Inclusion primitive.
Impact
Local File Inclusion (arbitrary file read via non-PHP files)
Potential RCE if attacker can write PHP files via a separate primitive
Information disclosure
Patches
2.0.55
Workarounds
No.
پیوندها
- https://github.com/advisories/GHSA-5vpg-rj7q-qpw2
- https://github.com/yiisoft/yii2
- https://github.com/yiisoft/yii2/commit/109878b491dbffa541032bc99fb5e26d12cd0375
- https://github.com/yiisoft/yii2/releases/tag/2.0.55
- https://github.com/yiisoft/yii2/security/advisories/GHSA-5vpg-rj7q-qpw2
- https://nvd.nist.gov/vuln/detail/CVE-2026-39850
گزارشدهندگان
- khuroohamid

