Advisory

GHSA-3mm9-2p44-rw39

Also known as: None

Summary

Silverstripe SiteTree Creation Permission Vulnerability

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-05-22 19:03 UTC
Modified
2024-12-07 05:42 UTC

Affected packages and fixes

silverstripe/cms

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.0.12 (ecosystem)

Fixed versions

3.0.12

Fix

The export has no generic command for this ecosystem.

silverstripe/cms

Packagist · All systems

Affected

  • introduced 3.1.0, fixed 3.1.11 (ecosystem)

Fixed versions

3.1.11

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences