PT-2015-7622 · Sensio · Twig
Fabpot
·
Publicado
2015-08-26
·
Atualizado
2022-05-14
·
CVE-2015-7809
CVSS v3.1
8.1
Alta
| Vetor | AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Sensio Labs Twig versions prior to 1.20.0
Description
The issue allows remote attackers to execute arbitrary code via the
self variable in a template when Sandbox mode is enabled. This is related to the displayBlock function in Template.php.Recommendations
For versions prior to 1.20.0, update to version 1.20.0 or later to resolve the issue. As a temporary workaround, consider disabling the
displayBlock function or restricting the use of the self variable in templates until a patch is available. Restrict access to the Template.php file to minimize the risk of exploitation.Exploit
Correção
RCE
Special Elements Injection
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Twig