VDB
Sign up
MEDIUM5.4

GHSA-cx45-565q-6qx8

SilverStripe Subsite weakens file permissions

Quick fix

GHSA-cx45-565q-6qx8 — silverstripe/subsites: upgrade to the fixed version with the command below.

composer require silverstripe/subsites:^2.6.1

Details

The subsites module can weaken edit restrictions on some files and allow a malicious user to edit files they do not have edit rights to.

This only affects projects with the subsites module installed. Regression testing should focus on custom file logic.

Be advised that this is not a case of a user being able to edit a file in subsites they do not have access to. As a reminder, all separation of content achieved with the subsites module should be viewed as cosmetic and not appropriate for security-critical applications.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/silverstripe/subsites
Introduced in: 2.0.0Fixed in: 2.6.1
Fixcomposer require silverstripe/subsites:^2.6.1

References