GHSA-3mm9-2p44-rw39 Silverstripe SiteTree Creation Permission Vulnerability
Unauthenticated users can create new SiteTree objects in the database due to missing permission validation in the default configuration.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-3mm9-2p44-rw39?
GHSA-3mm9-2p44-rw39 is a missing authorization vulnerability in silverstripe/cms, published on 22 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability exists in the permission validation for SiteTree object creation. By default user permissions are not validated by the SiteTree::canCreate method, unless overridden by user code or via the configuration system.
This vulnerability will allow users, or unauthenticated guests, to create new SiteTree objects in the database. This vulnerability is present when such users are given CMS access via other means, or if there is another mechanism (such as RestfulServer module) which allows model editing and relies on model-level permission checks.
This vulnerability is restricted to the creation of draft or live pages, and does not allow users to edit, publish, or unpublish existing pages.
All users should upgrade as soon as possible.
Which versions are affected by GHSA-3mm9-2p44-rw39?
4 open source packages ship an affected version, including silverstripe/cms.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/cms Packagist | From 3.0.0 | 3.0.12 |
silverstripe/cms Packagist | From 3.0.0 | 3.0.12 |
silverstripe/cms Packagist | From 3.1.0 | 3.1.11 |
silverstripe/cms Packagist | From 3.1.0 | 3.1.11 |
How do I fix GHSA-3mm9-2p44-rw39?
Upgrade silverstripe/cms to a fixed version for your release line: 3.0.12 or 3.1.11.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is GHSA-3mm9-2p44-rw39 being exploited?
There is no known exploitation of GHSA-3mm9-2p44-rw39 in the wild and no public exploit code.