RCE in Getgrav Grav
CVE-2021-29440
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.
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.306 (98.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H.
Affected products
- Getgrav Grav — versions < 1.7.11
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (Product, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Exploit, VDB Entry, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Exploit, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-29440?
- CVE-2021-29440 is a high-severity vulnerability in Getgrav Grav, classified under Code Injection. CVSS score: 8.4/10. Published 2021-04-13.
- How severe is CVE-2021-29440?
- High severity. CVSS v3 base score is 8.4 out of 10.
- Is CVE-2021-29440 known to be exploited?
- 12 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.