Exploit database

Vulnerability

CVE-2024-28116

Server-Side Template Injection (SSTI) with Grav CMS security sandbox bypass

Vulnerability details

Score
8.8
Severity
high

CVSS 3.1 · GitHub_M

Vector string

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

2 sources
akabe1/graver
GH-1cb23dc54b2e75779ebb7b9200ec4aaaGitHubUnofficial GitHub sourcePreferred

Proof of Concept script to exploit the authenticated SSTI+RCE in Grav CMS (CVE-2024-28116)

2024-03-243 files · 8 stars
geniuszly/gengravsstiexploit
GH-867975eb7b5a5d019b8f5498dcf52923GitHubUnofficial GitHub source

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)

2024-10-054 files · 7 stars