GitHub Advisoryadvisory · Packagist

GHSA-cx45-565q-6qx8 SilverStripe Subsite weakens file permissions

MEDIUM Published 2022-12-19 Modified 2025-04-17 Official page ↗
Aliases
CVE-2022-42949
Ecosystem
Packagist
Packages
silverstripe/subsites
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weaknesses
CWE-732
Reviewed
2022-12-19

Affected packages

• Packagist silverstripe/subsites: >= 2.0.0, < 2.6.1 → fixed in 2.6.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-42949 Silverstripe silverstripe/subsites through 2.6.0 has Insecure Permissions. vulnerability

Weakness · CWE (1)

  • CWE-732 Incorrect Permission Assignment for Critical Resource weakness

References