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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*

History

21 Nov 2024, 06:01

Type Values Removed Values Added
CVSS v2 : 6.5
v3 : 7.2
v2 : 6.5
v3 : 8.4
References () http://packetstormsecurity.com/files/162987/Grav-CMS-1.7.10-Server-Side-Template-Injection.html - Exploit, Third Party Advisory, VDB Entry () http://packetstormsecurity.com/files/162987/Grav-CMS-1.7.10-Server-Side-Template-Injection.html - Exploit, Third Party Advisory, VDB Entry
References () https://blog.sonarsource.com/grav-cms-code-execution-vulnerabilities - Exploit, Third Party Advisory () https://blog.sonarsource.com/grav-cms-code-execution-vulnerabilities - Exploit, Third Party Advisory
References () https://github.com/getgrav/grav/security/advisories/GHSA-g8r4-p96j-xfxc - Third Party Advisory () https://github.com/getgrav/grav/security/advisories/GHSA-g8r4-p96j-xfxc - Third Party Advisory
References () https://packagist.org/packages/getgrav/grav - Product, Third Party Advisory () https://packagist.org/packages/getgrav/grav - Product, Third Party Advisory

Information

Published : 2021-04-13 20:15

Updated : 2024-11-21 06:01


NVD link : CVE-2021-29440

Mitre link : CVE-2021-29440

CVE.ORG link : CVE-2021-29440


JSON object : View

Products Affected

getgrav

  • grav
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')