Advisory

GHSA-g4hp-pfvf-vm5w

Also known as: None

Summary

SilverStripe Vulnerability on 'isDev', 'isTest' and 'flush' $_GET validation

Details

When a secure token parameter is provided to a SilverStripe site (such as isDev or flush) an empty token parameter can be provided in order to bypass normal authentication parameters.

For instance, http://www.mysite.com/?isDev=1&isDevtoken will force a site to dev mode. Alternatively, "flush" could also be used in succession to cause excessive load on a victim site and risk denial of service.

The fix in this case is to ensure that empty tokens fail the validation check.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-05-23 17:23 UTC
Modified
2024-11-28 05:31 UTC

Affected packages and fixes

silverstripe/framework

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.0.14 (ecosystem)

Fixed versions

3.0.14

Fix

The export has no generic command for this ecosystem.

silverstripe/framework

Packagist · All systems

Affected

  • introduced 3.1.0, fixed 3.1.13 (ecosystem)

Fixed versions

3.1.13

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