PT-2023-24777 · Grav · Grav
Jacobsoo
·
Publicado
2023-06-14
·
Atualizado
2023-06-23
·
CVE-2023-34253
CVSS v3.1
8.8
Alta
| Vetor | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Grav versions prior to 1.7.42
Description
The issue concerns a flat-file content management system where the denylist, introduced to prevent the execution of dangerous functions via malicious template injection, was insufficient. This allowed a low-privileged attacker with login access to the Grav Admin panel and page creation/update permissions to inject malicious templates, potentially leading to remote code execution. The denylist could be subverted in multiple ways, including using unsafe functions not banned, using capitalized callable names, and using fully-qualified names for referencing callables.
Recommendations
For versions prior to 1.7.42, update to version 1.7.42 to improve the denylist and prevent the execution of dangerous functions via malicious template injection.
Exploit
Correção
RCE
Code Injection
Incomplete List of Disallowed Inputs
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Grav