Vulnerability DatabaseGHSA-vgxh-x8jv-hmff

GHSA-vgxh-x8jv-hmff
PHP vulnerability analysis and mitigation

Overview

A high severity code execution vulnerability (GHSA-vgxh-x8jv-hmff) was discovered in the Silverstripe Framework affecting versions >= 4.0.3-rc1, < 4.0.4 and >= 4.1.0-rc1, < 4.1.1. The vulnerability was disclosed on May 24, 2018, and allows arbitrary global functions to be executed through malicious user input passed to the second argument of ViewableData::renderWith (Silverstripe Advisory).

Technical details

The vulnerability exists in the ViewableData::renderWith method where associative arrays are resolved as template placeholders. The exploit requires user code that utilizes the second argument in renderWith and passes user input directly as a value in an associative array without proper sanitization (such as Convert::raw2xml()). The vulnerability has a CVSS v3.1 base score of 7.5 (High) with the following metrics: Network attack vector, High complexity, Low privileges required, No user interaction, Unchanged scope, and High impact on confidentiality, integrity, and availability (GitHub Advisory).

Impact

If successfully exploited, this vulnerability allows attackers to execute arbitrary global functions through malicious user input, potentially leading to unauthorized code execution on the affected system. The vulnerability has high impact ratings for confidentiality, integrity, and availability (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Silverstripe Framework versions 4.0.4 and 4.1.1. Users should upgrade to these or later versions. It's worth noting that ViewableData::customise is not vulnerable to this exploit (Silverstripe Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management