Описание
Mustache remote code injection vulnerability
In Mustache.php v2.0.0 through v2.14.0, Sections tag can lead to arbitrary php code execution even if strict_callables is true when section value is controllable.
Ссылки
- https://nvd.nist.gov/vuln/detail/CVE-2022-0323
- https://github.com/bobthecow/mustache.php/commit/579ffa5c96e1d292c060b3dd62811ff01ad8c24e
- https://github.com/FriendsOfPHP/security-advisories/blob/master/mustache/mustache/CVE-2022-0323.yaml
- https://github.com/bobthecow/mustache.php/releases/tag/v2.14.1
- https://huntr.dev/bounties/a5f5a988-aa52-4443-839d-299a63f44fb7
Пакеты
Наименование
mustache/mustache
composer
Затронутые версииВерсия исправления
>= 2.0.0, < 2.14.1
2.14.1
Связанные уязвимости
CVSS3: 8.8
ubuntu
около 4 лет назад
Improper Neutralization of Special Elements Used in a Template Engine in Packagist mustache/mustache prior to 2.14.1.
CVSS3: 8.8
nvd
около 4 лет назад
Improper Neutralization of Special Elements Used in a Template Engine in Packagist mustache/mustache prior to 2.14.1.