Skip to content

GHSA-xx4r-5265-48j6 silverstripe/framework SQL injection in full text search

HighCVSS 8.8
Published
Updated
Exploit status
No public exploit known
Technology
PHPMySQL

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
silverstripe/framework(Packagist) = 3.5.0; = 3.5.0-rc1; = 3.5.0-rc2; = 3.5.0-rc3 +29 more 3.5.6, 3.6.3, 4.0.1 Fixed

Affected products

ProductAffected versionsFixed in
silverstripe/framework(Packagist) >= 3.5.0-rc1, < 3.5.6 3.5.6
silverstripe/framework(Packagist) = 3.5.0 No fix listed
silverstripe/framework(Packagist) = 3.5.0-rc1 No fix listed
silverstripe/framework(Packagist) = 3.5.0-rc2 No fix listed
silverstripe/framework(Packagist) = 3.5.0-rc3 No fix listed
silverstripe/framework(Packagist) = 3.5.1 No fix listed
silverstripe/framework(Packagist) = 3.5.1-rc1 No fix listed
silverstripe/framework(Packagist) = 3.5.1-rc2 No fix listed
silverstripe/framework(Packagist) = 3.5.2 No fix listed
silverstripe/framework(Packagist) = 3.5.2-rc1 No fix listed
silverstripe/framework(Packagist) = 3.5.3 No fix listed
silverstripe/framework(Packagist) = 3.5.3-rc1 No fix listed
silverstripe/framework(Packagist) = 3.5.4 No fix listed
silverstripe/framework(Packagist) = 3.5.4-rc1 No fix listed
silverstripe/framework(Packagist) = 3.5.5 No fix listed
silverstripe/framework(Packagist) = 3.5.5-beta1 No fix listed
silverstripe/framework(Packagist) = 3.5.5-beta2 No fix listed
silverstripe/framework(Packagist) = 3.5.6-rc1 No fix listed
silverstripe/framework(Packagist) >= 3.6.0-rc1, < 3.6.3 3.6.3
silverstripe/framework(Packagist) = 3.6.0 No fix listed
silverstripe/framework(Packagist) = 3.6.0-rc1 No fix listed
silverstripe/framework(Packagist) = 3.6.1 No fix listed
silverstripe/framework(Packagist) = 3.6.1-alpha2 No fix listed
silverstripe/framework(Packagist) = 3.6.2 No fix listed
silverstripe/framework(Packagist) = 3.6.2-beta1 No fix listed
Show 8 more
ProductAffected versionsFixed in
silverstripe/framework(Packagist) = 3.6.2-beta2 No fix listed
silverstripe/framework(Packagist) = 3.6.3-rc2 No fix listed
silverstripe/framework(Packagist) >= 4.0.0-rc1, < 4.0.1 4.0.1
silverstripe/framework(Packagist) = 4.0.0 No fix listed
silverstripe/framework(Packagist) = 4.0.0-rc1 No fix listed
silverstripe/framework(Packagist) = 4.0.0-rc2 No fix listed
silverstripe/framework(Packagist) = 4.0.0-rc3 No fix listed
silverstripe/framework(Packagist) = 4.0.1-rc1 No fix listed

References