Vulnerability Description
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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Getgrav | Grav | < 1.7.11 |
Related Weaknesses (CWE)
References
- http://packetstormsecurity.com/files/162987/Grav-CMS-1.7.10-Server-Side-TemplateExploitThird Party AdvisoryVDB Entry
- https://blog.sonarsource.com/grav-cms-code-execution-vulnerabilitiesExploitThird Party Advisory
- https://github.com/getgrav/grav/security/advisories/GHSA-g8r4-p96j-xfxcThird Party Advisory
- https://packagist.org/packages/getgrav/gravProductThird Party Advisory
- http://packetstormsecurity.com/files/162987/Grav-CMS-1.7.10-Server-Side-TemplateExploitThird Party AdvisoryVDB Entry
- https://blog.sonarsource.com/grav-cms-code-execution-vulnerabilitiesExploitThird Party Advisory
- https://github.com/getgrav/grav/security/advisories/GHSA-g8r4-p96j-xfxcThird Party Advisory
- https://packagist.org/packages/getgrav/gravProductThird Party Advisory
FAQ
What is CVE-2021-29440?
CVE-2021-29440 is a vulnerability with a CVSS score of 8.4 (HIGH). 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...
How severe is CVE-2021-29440?
CVE-2021-29440 has been rated HIGH with a CVSS base score of 8.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-29440?
Check the references section above for vendor advisories and patch information. Affected products include: Getgrav Grav.