GHSA-w8fq-xgvh-cxc2: Silverstripe/forum Silverstripe Forum Module CSRF Vulnerability Vulnerability

MODERATE
CVSS 5.3
CWE-425 CWE-352
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-w8fq-xgvh-cxc2
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-425: Direct Request ('Forced Browsing')
Affected Product Silverstripe/forum
Package Ecosystem Packagist
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (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.

silverstripe/forum fixed: 0.6.2
Upgrade silverstripe/forum to 0.6.2
silverstripe/forum fixed: 0.7.4
Upgrade silverstripe/forum to 0.7.4
Verify Direct and Transitive Dependencies

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

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. Additionally, a forum moderator could be tricked into clicking a specially crafted URL, resulting in a topic being moved. Thanks to Michael Strong for discovering.

GHSA-w8fq-xgvh-cxc2 Affected Silverstripe/forum Versions

2 component(s)
Fixed Versions:
0.6.20.7.4
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?
GHSA-w8fq-xgvh-cxc2 is a security vulnerability in Silverstripe/forum involving Silverstripe Forum Module CSRF Vulnerability under CWE-425: Direct Request ('Forced Browsing').
Which Silverstripe/forum versions are affected?
Affected versions include releases prior to 0.6.2, 0.7.4 across affected packages: silverstripe/forum.
What version fixes GHSA-w8fq-xgvh-cxc2?
Upgrading to 0.6.2, 0.7.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is silverstripe/forum affected?
Yes, silverstripe/forum is affected in releases prior to 0.6.2, 0.7.4. Upgrade your dependency to 0.6.2, 0.7.4 or later.
What is the CVSS score of GHSA-w8fq-xgvh-cxc2?
GHSA-w8fq-xgvh-cxc2 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with GHSA-w8fq-xgvh-cxc2?
GHSA-w8fq-xgvh-cxc2 is classified under CWE-425: Direct Request ('Forced Browsing') (The web application does not adequately enforce appropriate authorization on all restricted URLs, scripts, or files.).
How can I check Packagist dependencies for GHSA-w8fq-xgvh-cxc2?
Run the dependency tree command: 'inspect dependencies for silverstripe/forum'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}