Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-28119— Grav vulnerable to Server Side Template Injection (SSTI) via Twig escape handler

CVSS 8.8 · High EPSS 1.41% · P81
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-28119

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Grav vulnerable to Server Side Template Injection (SSTI) via Twig escape handler
Source: NVD (National Vulnerability Database)
Vulnerability 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 the escape function and execute arbitrary commands. 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 patch for this issue.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Grav 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Grav是一套可扩展的用于个人博客、小型内容发布平台和单页产品展示的CMS(内容管理系统)。 Grav 1.7.45 版本之前存在安全漏洞,该漏洞源于从 grav 环境对 twig 扩展类的访问不受限制。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
getgravgrav < 1.7.45 -

II. Public POCs for CVE-2024-28119

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-28119

登录查看更多情报信息。

Same Patch Batch · getgrav · 2024-03-21 · 5 CVEs total

CVE-2024-279218.8 HIGHGrav File Upload Path Traversal vulnerability
CVE-2024-281168.8 HIGHServer-Side Template Injection (SSTI) with Grav CMS security sandbox bypass
CVE-2024-281178.8 HIGHGrav vulnerable to Server Side Template Injection (SSTI)
CVE-2024-281188.8 HIGHGrav vulnerable to Server Side Template Injection (SSTI)

IV. Related Vulnerabilities

V. Comments for CVE-2024-28119

No comments yet


Leave a comment