Silverstripe SiteTree Creation Permission Vulnerability
High severity
GitHub Reviewed
Published
May 22, 2024
to the GitHub Advisory Database
•
Updated May 22, 2024
Package
Affected versions
>= 3.0.0, <= 3.0.11
>= 3.1.0, < 3.1.11
Patched versions
3.0.12
3.1.11
Description
Published to the GitHub Advisory Database
May 22, 2024
Reviewed
May 22, 2024
Last updated
May 22, 2024
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.
References