Paper/Archive/CVE-2023-34251

CVE-2023-34251

getgrav grav — Grav Server Side Template Injection vulnerability

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
grav< 1.7.42–CNA

Scores by source

GitHub_M (CNA)10.0CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

refgithub.com/getgrav/grav/security/advisories/GHSA-f9jf-4cp4-4fq5refgithub.com/getgrav/grav/commit/9d01140a63c77075ef09b26ef57cf186138151a5refgithub.com/getgrav/grav/blob/develop/system/src/Grav/Common/Twig/Extension/GravExtension.php#L174