NetSight
high8.8No CVE yet

GHSA-xx4r-5265-48j6

silverstripe/framework SQL injection in full text search

Impact

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.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
composersilverstripe/framework>= 3.5.0-rc1, < 3.5.63.5.6
composersilverstripe/framework>= 3.6.0-rc1, < 3.6.33.6.3
composersilverstripe/framework>= 4.0.0-rc1, < 4.0.14.0.1

Weakness classification

References