GitHub Advisoryadvisory · Packagist
GHSA-cx45-565q-6qx8 SilverStripe Subsite weakens file permissions
MEDIUM
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
- https://nvd.nist.gov/vuln/detail/CVE-2022-42949 advisory
- https://github.com/silverstripe/silverstripe-subsites/commit/73f3d15bfb90ba779dd5498fcc5ae4ab292d6272 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/subsites/CVE-2022-42949.yaml web
- https://github.com/silverstripe/silverstripe-subsites package
- https://www.silverstripe.org/download/security-releases web
- https://www.silverstripe.org/download/security-releases/cve-2022-42949 web