VDB
Sign up
HIGH7.5

GHSA-3mm9-2p44-rw39

Silverstripe SiteTree Creation Permission Vulnerability

Quick fix

GHSA-3mm9-2p44-rw39 — silverstripe/cms: upgrade to the fixed version with the command below.

composer require silverstripe/cms:^3.0.12

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/silverstripe/cms
Introduced in: 3.0.0Fixed in: 3.0.12
Fixcomposer require silverstripe/cms:^3.0.12
Packagist/silverstripe/cms
Introduced in: 3.1.0Fixed in: 3.1.11
Fixcomposer require silverstripe/cms:^3.1.11

References