Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:40965
HistoryJun 21, 2023 - 2:06 a.m.

Server-Side Template Injection (SSTI)

2023-06-2102:06:30
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
1
getgrav/grav
server-side template injection
ssti
filter function
gravextension.php
twig's core extension
remote code execution

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

0.008 Low

EPSS

Percentile

81.6%

getgrav/grav is vulnerable to Server-Side Template Injection (SSTI). The vulnerability exists because the Filter function of GravExtension.php does not properly block the other built-in functions exposed by Twig’s Core Extension, which allows an attacker to invoke arbitrary unsafe functions, leading to remote code execution.

8.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

0.008 Low

EPSS

Percentile

81.6%

Related for VERACODE:40965