GitHub Advisoryadvisory · Packagist

GHSA-3mm9-2p44-rw39 Silverstripe SiteTree Creation Permission Vulnerability

HIGH Published 2024-05-22 Modified 2024-05-22 Official page ↗
Ecosystem
Packagist
Packages
silverstripe/cms
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-863
Reviewed
2024-05-22

Affected packages

• Packagist silverstripe/cms: >= 3.0.0, < 3.0.12 → fixed in 3.0.12 • Packagist silverstripe/cms: >= 3.1.0, < 3.1.11 → fixed in 3.1.11

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.

Related

Weakness · CWE (1)

  • CWE-863 Incorrect Authorization weakness

References