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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-28116— Server-Side Template Injection (SSTI) with Grav CMS security sandbox bypass

Quick assessment

Affected
getgrav grav
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Grav是一套可扩展的用于个人博客、小型内容发布平台和单页产品展示的CMS(内容管理系统)。 Grav 1.7.45 版本之前存在安全漏洞,该漏洞源于容易受到服务器端模板注入 (SSTI) 的攻击。

CVSS 8.8 · High EPSS 5.76% · P93
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-28116

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
Server-Side Template Injection (SSTI) with Grav CMS security sandbox bypass
Source: CVE Program / CVE List V5
Vulnerability Description
Grav is an open-source, flat-file content management system. Grav CMS prior to version 1.7.45 is vulnerable to a Server-Side Template Injection (SSTI), which allows any authenticated user (editor permissions are sufficient) to execute arbitrary code on the remote server bypassing the existing security sandbox. Version 1.7.45 contains a patch for this issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Grav 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Grav是一套可扩展的用于个人博客、小型内容发布平台和单页产品展示的CMS(内容管理系统)。 Grav 1.7.45 版本之前存在安全漏洞,该漏洞源于容易受到服务器端模板注入 (SSTI) 的攻击。
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

Vendor Product Affected Versions CPE Subscribe
getgrav grav < 1.7.45 -

II. Public POCs for CVE-2024-28116

# POC Description Source Link Shenlong Link
1 Proof of Concept script to exploit the authenticated SSTI+RCE in Grav CMS (CVE-2024-28116) https://github.com/akabe1/Graver POC Details
2 Exploit against Grav CMS (versions below 1.7.45) that allows Remote Code Execution for an authenticated user - CVE-2024-28116 https://github.com/gunzf0x/Grav-CMS-RCE-Authenticated POC Details
3 is a PoC Python script that exploits an authenticated Server-Side Template Injection (SSTI) vulnerability in Grav CMS versions <= 1.7.44 (CVE-2024-28116) https://github.com/geniuszlyy/GenGravSSTIExploit POC Details
4 is a PoC Python script that exploits an authenticated Server-Side Template Injection (SSTI) vulnerability in Grav CMS versions <= 1.7.44 (CVE-2024-28116) https://github.com/geniuszly/GenGravSSTIExploit POC Details
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7335 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-28116

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-28116 (1)

Vendor Advisories for CVE-2024-28116 (1)

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

CVE-2024-28119 8.8 HIGH Grav vulnerable to Server Side Template Injection (SSTI) via Twig escape handler
CVE-2024-28118 8.8 HIGH Grav vulnerable to Server Side Template Injection (SSTI)
CVE-2024-28117 8.8 HIGH Grav vulnerable to Server Side Template Injection (SSTI)
CVE-2024-27921 8.8 HIGH Grav File Upload Path Traversal vulnerability

IV. Related Vulnerabilities

V. Comments for CVE-2024-28116

No comments yet


Leave a comment