Grav vulnerability allows arbitrary code execution and elevated privileges
CVE-2024-28117
8.8HIGH
What is CVE-2024-28117?
Grav is an open-source, flat-file content management system that has a critical vulnerability allowing potential attackers to execute arbitrary commands. This issue arises from the lack of restrictions on certain Twig functions, specifically when administrative users enable Twig processing of static pages in the front matter. As the Utils::isDangerousFunction does not adequately validate all accessible functions, this misconfiguration creates an opportunity for unauthorized command execution. Upgrading to Grav version 1.7.45 or later is essential for mitigating the risks associated with this vulnerability.
Affected Version(s)
grav < 1.7.45
