CVE-2021-29440
Twig allowing dangerous PHP functions by default
Grav is a file based Web-platform. Twig processing of static pages can be enabled in the front matter by any administrative user allowed to create or edit pages. As the Twig processor runs unsandboxed, this behavior can be used to gain arbitrary code execution and elevate privileges on the instance. The issue was addressed in version 1.7.11.
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
Affected products
getgrav · gravpublic PoCs found — 3
githubgithub.com/CsEnox/CVE-2021-29440★ 4cve_referencepacketstormsecurity.com/files/162987/Grav-CMS-1.7.10-Server-Side-Template-Injection.htmlunverifiedexploitdbwww.exploit-db.com/exploits/49961unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Want to know if your infrastructure is exposed to this?
Talk to TrueHacking →