Advisory

GHSA-vgxh-x8jv-hmff

Also known as: None

Summary

silverstripe/framework code execution vulnerability

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-05-27 23:07 UTC
Modified
2024-12-02 05:33 UTC

Affected packages and fixes

silverstripe/framework

Packagist · All systems

Affected

  • introduced 4.0.3-rc1, fixed 4.0.4 (ecosystem)

Fixed versions

4.0.4

Fix

The export has no generic command for this ecosystem.

silverstripe/framework

Packagist · All systems

Affected

  • introduced 4.1.0-rc1, fixed 4.1.1 (ecosystem)

Fixed versions

4.1.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences