Vulnerability CVE-2021-29440


Published: 2021-04-13

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.

See advisories in our WLB2 database:
Topic
Author
Date
Med.
Grav CMS 1.7.10 Server-Side Template Injection
enox
07.06.2021

Type:

CWE-94

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

CVSS2 => (AV:N/AC:L/Au:S/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
6.5/10
6.4/10
8/10
Exploit range
Attack complexity
Authentication
Remote
Low
Single time
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
Getgrav -> GRAV 

 References:
https://packagist.org/packages/getgrav/grav
https://github.com/getgrav/grav/security/advisories/GHSA-g8r4-p96j-xfxc

Copyright 2024, cxsecurity.com

 

Back to Top