Lucene search

K
githubGitHub Advisory DatabaseGHSA-VGXH-X8JV-HMFF
HistoryMay 27, 2024 - 11:07 p.m.

silverstripe/framework code execution vulnerability

2024-05-2723:07:35
CWE-74
GitHub Advisory Database
github.com
3
silverstripe/framework
code execution
vulnerability
malicious user input
viewabledata::renderwith
viewabledata::customise
software

7.3 High

AI Score

Confidence

High

There is a vulnerability whereby arbitrary global functions may be executed if malicious user input is passed through to in the second argument of ViewableData::renderWith. This argument resolves associative arrays as template placeholders. This exploit requires that user code has been written which makes use of the second argument in renderWith and where user input is passed directly as a value in an associative array without sanitisation such as Convert::raw2xml().

ViewableData::customise is not vulnerable.

Affected configurations

Vulners
Node
silverstripeframeworkRange<4.1.1
OR
silverstripeframeworkRange<4.0.4

7.3 High

AI Score

Confidence

High