GHSA-3mm9-2p44-rw39: Silverstripe/cms Silverstripe SiteTree Creation Permission Vulnerability Vulnerability
HIGHGHSA-3mm9-2p44-rw39 is a HIGH (CVSS 7.5) silverstripe sitetree creation permission vulnerability vulnerability (CWE-863: Incorrect Authorization) affecting Silverstripe/cms libraries in the Packagist ecosystem. The issue involves silverstripe sitetree creation permission vulnerability. Remediation is available by upgrading affected packages to version 3.0.12, 3.1.11.
GHSA-3mm9-2p44-rw39 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix GHSA-3mm9-2p44-rw39
To remediate this vulnerability, upgrade all affected Silverstripe/cms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade silverstripe/cms to 3.0.12
Upgrade silverstripe/cms to 3.1.11
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for silverstripe/cms
How to Check if You Are Affected
To determine whether your application is affected by GHSA-3mm9-2p44-rw39, inspect your project dependencies for Silverstripe/cms:
inspect dependencies for silverstripe/cms
Analyze the terminal output to locate any version of Silverstripe/cms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.12), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Silverstripe/cms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-3mm9-2p44-rw39 Affected Silverstripe/cms Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
silverstripe/cms
|
Packagist |
≥ 3.0.0
< 3.0.12
|
3.0.12
|
|
silverstripe/cms
|
Packagist |
≥ 3.1.0
< 3.1.11
|
3.1.11
|
References
Frequently Asked Questions
What is GHSA-3mm9-2p44-rw39?
Which Silverstripe/cms versions are affected?
What version fixes GHSA-3mm9-2p44-rw39?
Is silverstripe/cms affected?
What is the CVSS score of GHSA-3mm9-2p44-rw39?
What CWE is associated with GHSA-3mm9-2p44-rw39?
How can I check Packagist dependencies for GHSA-3mm9-2p44-rw39?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3mm9-2p44-rw39",
"modified" : "2024-05-22T19:03:54Z",
"published" : "2024-05-22T19:03:54Z",
"aliases" : [ ],
"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.\n\nThis 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.\n\nThis vulnerability is restricted to the creation of draft or live pages, and does not allow users to edit, publish, or unpublish existing pages.\n\nAll users should upgrade as soon as possible.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.12"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.0.11"
}
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/cms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.11"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-cms/commit/3df41e1176385215f15fffb04fcba033a5151fb4"
}, {
"type" : "WEB",
"url" : "https://github.com/silverstripe/silverstripe-cms/commit/64955e57d1239975183f47d3ac8c3e801ddbf122"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/cms/SS-2015-008-1.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/silverstripe/silverstripe-cms"
}, {
"type" : "WEB",
"url" : "https://www.silverstripe.org/software/download/security-releases/ss-2015-008-sitetree-creation-permission-vulnerability"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-22T19:03:54Z",
"nvd_published_at" : null
}
}