Advisory

GHSA-xx4r-5265-48j6

Also known as: None

Summary

silverstripe/framework SQL injection in full text search

Details

When performing a fulltext search in SilverStripe 4.0.0 the 'start' querystring parameter is never escaped safely. This exposes a possible SQL injection vulnerability.

The issue exists in 3.5 and 3.6 but is less vulnerable, as SearchForm sanitises these variables prior to passing to mysql.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-05-27 21:53 UTC
Modified
2024-12-02 05:45 UTC

Affected packages and fixes

silverstripe/framework

Packagist · All systems

Affected

  • introduced 3.5.0-rc1, fixed 3.5.6 (ecosystem)

Fixed versions

3.5.6

Fix

The export has no generic command for this ecosystem.

silverstripe/framework

Packagist · All systems

Affected

  • introduced 3.6.0-rc1, fixed 3.6.3 (ecosystem)

Fixed versions

3.6.3

Fix

The export has no generic command for this ecosystem.

silverstripe/framework

Packagist · All systems

Affected

  • introduced 4.0.0-rc1, fixed 4.0.1 (ecosystem)

Fixed versions

4.0.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