CVE-2023-34253
published 2023-06-14CVE-2023-34253: Grav is a flat-file content management system. Prior to version 1.7.42, the denylist introduced in commit 9d6a2d to prevent dangerous functions from being…
PriorityP348high7.2CVSS 3.1
AVNACLPRHUINSUCHIHAH
EPSS
2.07%
79.1th percentile
Grav is a flat-file content management system. Prior to version 1.7.42, the denylist introduced in commit 9d6a2d to prevent dangerous functions from being executed via injection of malicious templates was insufficient and could be easily subverted in multiple ways -- (1) using unsafe functions that are not banned, (2) using capitalised callable names, and (3) using fully-qualified names for referencing callables. Consequently, a low privileged attacker with login access to Grav Admin panel and page creation/update permissions is able to inject malicious templates to obtain remote code execution. A patch in version 1.7.42 improves the denylist.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| getgrav | grav | < 1.7.42 | 1.7.42 |
| getgrav | grav | >= 0 < 1.7.42 | 1.7.42 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Grav Server-side Template Injection (SSTI) via Denylist Bypass Vulnerability
osv·2023-06-16
CVE-2023-34253 [HIGH] Grav Server-side Template Injection (SSTI) via Denylist Bypass Vulnerability
Grav Server-side Template Injection (SSTI) via Denylist Bypass Vulnerability
Hi,
actually we have sent the bug report to [email protected] on 27th March 2023 and on 10th April 2023.
# Grav Server-side Template Injection (SSTI) via Denylist Bypass Vulnerability
## Summary:
| **Product** | Grav CMS |
| ----------------------- | --------------------------------------------- |
| **Vendor** | Grav |
| **Severity** | High - Users with login access to Grav Admin panel and page creation/update permissions are able to obtain remote code/command execution |
| **Affected Versions** | 0,
'array_diff_uassoc' => -1,
'array_diff_ukey' => -1,
'array_filter' => 1,
'array_intersect_uassoc' => -1,
'array_intersect_ukey' => -1,
'array_map' => 0,
'array_reduce' => 1,
'array_udiff_assoc' => -1,
'array_ud
GHSA
Grav Server-side Template Injection (SSTI) via Denylist Bypass Vulnerability
ghsa·2023-06-16
CVE-2023-34253 [HIGH] CWE-1336 Grav Server-side Template Injection (SSTI) via Denylist Bypass Vulnerability
Grav Server-side Template Injection (SSTI) via Denylist Bypass Vulnerability
Hi,
actually we have sent the bug report to [email protected] on 27th March 2023 and on 10th April 2023.
# Grav Server-side Template Injection (SSTI) via Denylist Bypass Vulnerability
## Summary:
| **Product** | Grav CMS |
| ----------------------- | --------------------------------------------- |
| **Vendor** | Grav |
| **Severity** | High - Users with login access to Grav Admin panel and page creation/update permissions are able to obtain remote code/command execution |
| **Affected Versions** | 0,
'array_diff_uassoc' => -1,
'array_diff_ukey' => -1,
'array_filter' => 1,
'array_intersect_uassoc' => -1,
'array_intersect_ukey' => -1,
'array_map' => 0,
'array_reduce' => 1,
'array_udiff_assoc' => -1,
'array_ud
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/getgrav/grav/blob/1.7.40/system/src/Grav/Common/Utils.php#L1952-L2190https://github.com/getgrav/grav/commit/71bbed12f950de8335006d7f91112263d8504f1bhttps://github.com/getgrav/grav/security/advisories/GHSA-j3v8-v77f-fvgmhttps://huntr.dev/bounties/3ef640e6-9e25-4ecb-8ec1-64311d63fe66/https://www.github.com/getgrav/grav/commit/9d6a2dba09fd4e56f5cdfb9a399caea355bfeb83https://github.com/getgrav/grav/blob/1.7.40/system/src/Grav/Common/Utils.php#L1952-L2190https://github.com/getgrav/grav/commit/71bbed12f950de8335006d7f91112263d8504f1bhttps://github.com/getgrav/grav/security/advisories/GHSA-j3v8-v77f-fvgmhttps://huntr.dev/bounties/3ef640e6-9e25-4ecb-8ec1-64311d63fe66/https://www.github.com/getgrav/grav/commit/9d6a2dba09fd4e56f5cdfb9a399caea355bfeb83
2023-06-14
Published