GHSA-w8fq-xgvh-cxc2: Silverstripe/forum Silverstripe Forum Module CSRF Vulnerability Vulnerability
MODERATEGHSA-w8fq-xgvh-cxc2 is a MODERATE (CVSS 5.3) silverstripe forum module csrf vulnerability vulnerability (CWE-425: Direct Request ('Forced Browsing')) affecting Silverstripe/forum libraries in the Packagist ecosystem. The issue involves silverstripe forum module csrf vulnerability. Remediation is available by upgrading affected packages to version 0.6.2, 0.7.4.
GHSA-w8fq-xgvh-cxc2 at a Glance
Security Impact
CVSS: 5.3
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:L/A:N).
How to Fix GHSA-w8fq-xgvh-cxc2
To remediate this vulnerability, upgrade all affected Silverstripe/forum 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/forum to 0.6.2
Upgrade silverstripe/forum to 0.7.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for silverstripe/forum
How to Check if You Are Affected
To determine whether your application is affected by GHSA-w8fq-xgvh-cxc2, inspect your project dependencies for Silverstripe/forum:
inspect dependencies for silverstripe/forum
Analyze the terminal output to locate any version of Silverstripe/forum in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.2), 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-425: Direct Request ('Forced Browsing'), where the web application does not adequately enforce appropriate authorization on all restricted urls, scripts, or files. In Silverstripe/forum, 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-w8fq-xgvh-cxc2 Affected Silverstripe/forum Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
silverstripe/forum
|
Packagist |
< 0.6.2
|
0.6.2
|
|
silverstripe/forum
|
Packagist |
≥ 0.7.0
< 0.7.4
|
0.7.4
|
References
Frequently Asked Questions
What is GHSA-w8fq-xgvh-cxc2?
Which Silverstripe/forum versions are affected?
What version fixes GHSA-w8fq-xgvh-cxc2?
Is silverstripe/forum affected?
What is the CVSS score of GHSA-w8fq-xgvh-cxc2?
What CWE is associated with GHSA-w8fq-xgvh-cxc2?
How can I check Packagist dependencies for GHSA-w8fq-xgvh-cxc2?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w8fq-xgvh-cxc2",
"modified" : "2024-05-23T14:41:16Z",
"published" : "2024-05-23T14:41:16Z",
"aliases" : [ ],
"summary" : "Silverstripe Forum Module CSRF Vulnerability",
"details" : "A number of form actions in the Forum module are directly accessible. A malicious user (e.g. spammer) can use GET requests to create Members and post to forums, bypassing CSRF and anti-spam measures.\n\nAdditionally, a forum moderator could be tricked into clicking a specially crafted URL, resulting in a topic being moved.\n\nThanks to Michael Strong for discovering.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/forum"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.6.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.6.1"
}
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "silverstripe/forum"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.7.0"
}, {
"fixed" : "0.7.4"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.7.3"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/silverstripe-archive/silverstripe-forum/commit/0ec7c92785f36c8edf4a11c36a4fc27e0c40cee6"
}, {
"type" : "WEB",
"url" : "https://github.com/silverstripe-archive/silverstripe-forum/commit/efe09f95ccdb0138ce5bd3d3a21b3d9e97038dd8"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/forum/SS-2015-017-1.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/silverstripe-archive/silverstripe-forum"
}, {
"type" : "WEB",
"url" : "https://www.silverstripe.org/software/download/security-releases/ss-2015-017"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-352", "CWE-425" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-23T14:41:16Z",
"nvd_published_at" : null
}
}