#VU77509 Input validation error in Grav CMS - CVE-2023-34448
Published: June 19, 2023
Vulnerability identifier: #VU77509
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2023-34448
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
Grav CMS
Grav CMS
Software vendor:
Grav CMS
Grav CMS
Description
The vulnerability allows a remote user to execute arbitrary code on the target system.
The vulnerability exists due to Server-side Template Injection (SSTI) issue in the Twig Default Filters. A remote administrator can pass specially crafted input to the application and execute arbitrary code on the system.
Remediation
Install updates from vendor's website.
External links
- https://github.com/twigphp/Twig/blob/v1.44.7/src/Environment.php#L148
- https://github.com/getgrav/grav/security/advisories/GHSA-whr7-m3f8-mpm8
- https://www.github.com/getgrav/grav/commit/9d6a2dba09fd4e56f5cdfb9a399caea355bfeb83
- https://github.com/getgrav/grav/commit/8c2c1cb72611a399f13423fc6d0e1d998c03e5c8
- https://huntr.dev/bounties/3ef640e6-9e25-4ecb-8ec1-64311d63fe66/