Smarty before 4.5.8 and 5.x before 5.8.5 contains a code injection vulnerability where the top-level nocache_hash is never restored during extends:/multi-component template inheritance, leaving it null. Attackers can supply assigned data containing a forged SmartyNocache marker that is copied verbatim into the regenerated PHP cache file, executing arbitrary PHP on include for remote code execution.
Характеристики атаки
Последствия
Строка CVSS v4.0
Тип уязвимости (CWE)
Уязвимые продукты 2
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Newmediacompany Smarty
cpe:2.3:a:newmediacompany:smarty:*:*:*:*:*:*:*:*
|
— |
4.5.8
|
|
Newmediacompany Smarty
cpe:2.3:a:newmediacompany:smarty:*:*:*:*:*:*:*:*
|
5.0.0
|
5.8.5
|