CVE-2023-37897
HIGHEPSS 85th pctlDescription
Grav is a file-based Web-platform built in PHP. Grav is subject to a server side template injection (SSTI) vulnerability. The fix for another SSTI vulnerability using `|map`, `|filter` and `|reduce` twigs implemented in the commit `71bbed1` introduces bypass of the denylist due to incorrect return value from `isDangerousFunction()`, which allows to execute the payload prepending double backslash (`\\`). The `isDangerousFunction()` check in version 1.7.42 and onwards retuns `false` value instead of `true` when the `\` symbol is found in the `$name`. This vulnerability can be exploited if the attacker has access to: 1. an Administrator account, or 2. a non-administrator, user account that has Admin panel access and Create/Update page permissions. A fix for this vulnerability has been introduced in commit `b4c6210` and is included in release version `1.7.42.2`. Users are advised to upgrade. There are no known workarounds for this vulnerability.
How to fix
No published remediation has been found for this vulnerability's affected products yet.
Mitigation guidance may be in the linked vendor advisories in the References section below.
TridentStack Control tracks known vulnerabilities across your Windows, macOS, and Linux fleet and shows the fix as soon as one is published. See how it works
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Exploit Intelligence
Elevated risk: more likely to be exploited than 85% of all known CVEs.
References
Related Vulnerabilities
Other CWE-74 (Injection) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2013-2251 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2023-22527 | Critical | 9.8 | 100% | KEV + Ransom | Fix |
| CVE-2019-2725 | Critical | 9.8 | 100% | KEV + Ransom | Fix |
| CVE-2022-46169 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2022-35914 | Critical | 9.8 | 100% | KEV | - |
| CVE-2019-17558 | High | 7.5 | 99% | KEV | Fix |
Common questions
How do I fix CVE-2023-37897?
No published fix for CVE-2023-37897 has been found yet. Check the linked vendor advisories for guidance as it becomes available.
Is CVE-2023-37897 being actively exploited?
Not that we know of. CVE-2023-37897 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 2.8% is the estimated probability that it will be exploited in the next 30 days. That is higher than 85% of all scored CVEs.
How severe is CVE-2023-37897?
CVE-2023-37897 has a CVSS v3 base score of 7.2, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
Embed a live status badge for CVE-2023-37897
Markdown
[](https://tridentstack.com/cve/CVE-2023-37897)HTML
<a href="https://tridentstack.com/cve/CVE-2023-37897"><img src="https://tridentstack.com/cve/badge/CVE-2023-37897.svg" alt="CVE-2023-37897"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.