GHSA-2hpc-mf4q-j885 Silverstripe CSRF vulnerability in GridFieldAddExistingAutocompleter
Attackers can trick CMS users into submitting unauthorized data via CSRF, potentially modifying groups, users, or permissions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is GHSA-2hpc-mf4q-j885?
GHSA-2hpc-mf4q-j885 is a vulnerability in silverstripe/framework, published on 23 May 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
GridField does not have sufficient CSRF protection, meaning that in some cases users with CMS access can be tricked into posting unspecified data into the CMS from external websites. Amongst other default CMS interfaces, GridField is used for management of groups, users and permissions in the CMS.
The resolution for this issue is to ensure that all gridFieldAlterAction submissions are checked for the SecurityID token during submission.
Which versions are affected by GHSA-2hpc-mf4q-j885?
6 open source packages ship an affected version, including silverstripe/framework.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/framework Packagist | All versions | 3.1.17 |
silverstripe/framework Packagist | All versions | 3.1.17 |
silverstripe/framework Packagist | From 3.2.0 | 3.2.2 |
silverstripe/framework Packagist | From 3.2.0 | 3.2.2 |
silverstripe/framework Packagist | From 3.3.0-beta1 | 3.3.0 |
silverstripe/framework Packagist | From 3.3.0-beta1 | 3.3.0 |
How do I fix GHSA-2hpc-mf4q-j885?
Upgrade silverstripe/framework to a fixed version for your release line: 3.1.17, 3.2.2 or 3.3.0.
Is GHSA-2hpc-mf4q-j885 being exploited?
There is no known exploitation of GHSA-2hpc-mf4q-j885 in the wild and no public exploit code.