Grav Server-side Template Injection (SSTI) via Twig Default Filters
CVE-2023-34448
8.8HIGH
What is CVE-2023-34448?
Grav, a flat-file content management system, is exposed to a server-side template injection vulnerability prior to version 1.7.42. The issue arises from the inadequate patching of CVE-2022-2073, which failed to prevent the invocation of unsafe functions through built-in Twig functionalities. This flaw allows remote code execution risks, as attackers can exploit unsafe functions enabled by the Twig Core Extension. The effective patch implemented in version 1.7.42 restricts access to these functions by validating arguments passed to filter(), specifically the overriding of the map() and reduce() filter functions.
Affected Version(s)
grav < 1.7.42
References
EPSS Score
8% chance of being exploited in the next 30 days.
CVSS V3.1
Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
