p PatchFirst

PatchFirst · Latest vulnerabilities

getgrav/grav vulnerabilities · Page 5

Vulnerabilities published for getgrav/grav in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 99

  1. CVE-2023-34448

    High · CVSS 8.8EPSS 4.52%Fix available

    Grav Server-side Template Injection (SSTI) via Twig Default Filters

    Grav is a flat-file content management system. Prior to version 1.7.42, the patch for CVE-2022-2073, a server-side template injection vulnerability in Grav leveraging the default `filter()` function, did not block other built-in functions exposed by Twig's Core Extension that could be used to invoke arbitrary unsafe functions, thereby allowing for remote code execution. A patch in version 1.74.2 overrides the built-in Twig `map()` and `reduce()` filter functions in `system/src/Grav/Common/Twig/Extension/GravExtension.php` to validate the argument passed to the filter in `$arrow`.

    • Update to 1.7.42
    Published Updated
  2. CVE-2023-34253

    High · CVSS 8.8EPSS 2.07%Fix available

    Grav vulnerable to Server-side Template Injection (SSTI) via Denylist Bypass

    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

    • Update to 1.7.42
    Published Updated
  3. CVE-2023-34252

    High · CVSS 8.8EPSS 2.07%Fix available

    Grav Server-side Template Injection via Insufficient Validation in filterFilter

    Grav is a flat-file content management system. Prior to version 1.7.42, there is a logic flaw in the `GravExtension.filterFilter()` function whereby validation against a denylist of unsafe functions is only performed when the argument passed to filter is a string. However, passing an array as a callable argument allows the validation check to be skipped. 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. The vulnerability can be found in the `GravExtension.filterFilter()` function declared in `/system/src/Grav

    • Update to 1.7.42
    Published Updated
  4. CVE-2023-34251

    Critical · CVSS 10EPSS 2.34%Fix available

    Grav Server Side Template Injection vulnerability

    Grav is a flat-file content management system. Versions prior to 1.7.42 are vulnerable to server side template injection. Remote code execution is possible by embedding malicious PHP code on the administrator screen by a user with page editing privileges. Version 1.7.42 contains a fix for this issue.

    • Update to 1.7.42
    Published Updated
  5. CVE-2021-29440

    High · CVSS 8.4EPSS 29.9%Public exploitFix available

    Twig allowing dangerous PHP functions by default

    Grav is a file based Web-platform. 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. The issue was addressed in version 1.7.11.

    • Update to 1.7.11
    Published Updated
  6. CVE-2020-29555

    High · CVSS 8.1EPSS 2.9%Fix available

    CVE-2020-29555

    The BackupDelete functionality in Grav CMS through 1.7.0-rc.17 allows an authenticated attacker to delete arbitrary files on the underlying server by exploiting a path-traversal technique. (This vulnerability can also be exploited by an unauthenticated attacker due to a lack of CSRF protection.)

    • Update to 1.6.30
    Published Updated
  7. CVE-2020-29556

    Medium · CVSS 5.5EPSS 0.98%Fix available

    CVE-2020-29556

    The Backup functionality in Grav CMS through 1.7.0-rc.17 allows an authenticated attacker to read arbitrary local files on the underlying server by exploiting a path-traversal technique. (This vulnerability can also be exploited by an unauthenticated attacker due to a lack of CSRF protection.)

    • Update to 1.6.30
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →