Exploit database

Vulnerability

CVE-2021-29440

Twig allowing dangerous PHP functions by default

Vulnerability details

Score
8.4
Severity
high

CVSS 3.1 · GitHub_M

Vector string

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

2 sources
csenox/cve-2021-29440
GH-24cf970b1669ecdddc031a6eb8b313e1GitHubUnofficial GitHub source

Unsafe Twig processing of static pages leading to RCE in Grav CMS 1.7.10

2021-06-063 files · 4 stars