Advisory

GHSA-cx45-565q-6qx8

Also known as: CVE-2022-42949

Summary

SilverStripe Subsite weakens file permissions

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-12-19 18:19 UTC
Modified
2025-04-17 17:20 UTC

Affected packages and fixes

silverstripe/subsites

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.6.1 (ecosystem)

Fixed versions

2.6.1

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