hoch8.8Noch keine CVE
GHSA-xx4r-5265-48j6
silverstripe/framework SQL injection in full text search
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| composer | silverstripe/framework | >= 3.5.0-rc1, < 3.5.6 | 3.5.6 |
| composer | silverstripe/framework | >= 3.6.0-rc1, < 3.6.3 | 3.6.3 |
| composer | silverstripe/framework | >= 4.0.0-rc1, < 4.0.1 | 4.0.1 |
Schwachstellenklasse
Referenzen
- GitHub-Advisory
- https://github.com/advisories/GHSA-xx4r-5265-48j6
- https://github.com/silverstripe/silverstripe-framework/commit/099a5a3c2d99ed39bdd8815e1e2790bb9351770b
- https://github.com/silverstripe/silverstripe-framework/commit/a8465900bdc77199176c953890ce7587045b1ea4
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2017-008-1.yaml
- https://www.silverstripe.org/download/security-releases/ss-2017-008