All reports
High

silverstripe/framework SQL injection in full text search

Affected versions

Version ranges need review.

Affected versions
>= 4.0.0-rc1, < 4.0.1
Fixed version
4.0.1
Affected versions
>= 3.5.0-rc1, < 3.5.6
Fixed version
3.5.6
Affected versions
>=3.0.0,<3.0.14|>=3.1.0,<3.1.13
Fixed version
Not reported
Affected versions
>= 3.6.0-rc1, < 3.6.3
Fixed version
3.6.3

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.

Links