RCE in Getgrav Grav
CVE-2023-34251
Grav is a flat-file content management system. Versions prior to 1.7.42 are vulnerable to server side template injection. Remote code execution is possible by embedding malicious PHP code on the administrator screen by a user with page editing privileges. Version 1.7.42 contains a fix for this issue.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.023, 83.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Getgrav Grav — versions < 1.7.42
Weakness classification (CWE)
References
- https://github.com/getgrav/grav/security/advisories/GHSA-f9jf-4cp4-4fq5 (Exploit, Vendor Advisory)
- https://github.com/getgrav/grav/commit/9d01140a63c77075ef09b26ef57cf186138151a5 (Patch)
- https://github.com/getgrav/grav/blob/develop/system/src/Grav/Common/Twig/Extension/GravExtension.php#L174 (Vendor Advisory)