PT-2024-40538 · Silverstripe · Silverstripe

Published

2024-05-27

·

Updated

2024-05-27

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: SilverStripe versions 4.0.0 SilverStripe versions 3.5 through 3.6
Description: The issue is related to a possible SQL injection vulnerability when performing a fulltext search. Specifically, the start querystring parameter is not escaped safely. In versions 3.5 and 3.6, the SearchForm sanitises these variables prior to passing to mysql, making them less vulnerable.
Recommendations: For SilverStripe version 4.0.0, ensure the start querystring parameter is properly escaped to prevent SQL injection. For SilverStripe versions 3.5 through 3.6, consider additional validation for the start parameter to further reduce the risk of exploitation, although SearchForm already provides some sanitisation.

Fix

SQL injection

Weakness Enumeration

Related Identifiers

GHSA-XX4R-5265-48J6

Affected Products

Silverstripe