Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-28118

8.8 · HIGH
Published Mar 21, 2024 getgrav CWE-94 EPSS 1.22% (67th pctl)

Overview

CVE-2024-28118 is a high-severity vulnerability affecting getgrav grav. It was published on March 21, 2024 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

Grav is an open-source, flat-file content management system. Prior to version 1.7.45, due to the unrestricted access to twig extension class from Grav context, an attacker can redefine config variable. As a result, attacker can bypass a previous SSTI mitigation. Twig processing of static pages can be enabled in the front matter by any administrative user allowed to create or edit pages. As the Twig processor runs unsandboxed, this behavior can be used to gain arbitrary code execution and elevate privileges on the instance. Version 1.7.45 contains a fix for this issue.

Remediation

Check the references section for vendor advisories and patches from getgrav. Update grav to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
getgrav grav >= 0, < 1.7.45 Affected

Frequently Asked Questions

What is CVE-2024-28118?

CVE-2024-28118 is a high-severity vulnerability affecting getgrav grav. It was published on March 21, 2024 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2024-28118?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-28118?

Check the references section for vendor advisories and patches from getgrav. Update grav to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-28118?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-28118 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.