CVE-2021-29440
Last modified
CVE-2021-29440 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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. EPSS estimates a 30.62% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Getgrav | Grav | < 1.7.11 |
References
- http://packetstormsecurity.com/files/162987/Grav-CMS-1.7.10-Server-Side-Template-Injection.htmlExploit, Third Party Advisory, VDB Entry
- https://blog.sonarsource.com/grav-cms-code-execution-vulnerabilitiesExploit, Third Party Advisory
- https://github.com/getgrav/grav/security/advisories/GHSA-g8r4-p96j-xfxcThird Party Advisory
- https://packagist.org/packages/getgrav/gravProduct, Third Party Advisory
- http://packetstormsecurity.com/files/162987/Grav-CMS-1.7.10-Server-Side-Template-Injection.htmlExploit, Third Party Advisory, VDB Entry
- https://blog.sonarsource.com/grav-cms-code-execution-vulnerabilitiesExploit, Third Party Advisory
- https://github.com/getgrav/grav/security/advisories/GHSA-g8r4-p96j-xfxcThird Party Advisory
- https://packagist.org/packages/getgrav/gravProduct, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-29440?
How severe is CVE-2021-29440?
How do I fix CVE-2021-29440?
Are you affected by CVE-2021-29440?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
