CVE-2020-6164: Silverstripe/cms Silverstripe CMS Information Disclosure Vulnerability

HIGH
Advisory Identifier: GHSA-gm5x-hpmw-xpxg
CVSS 7.5
CWE-200
Published
Advisory Summary

CVE-2020-6164 is a HIGH (CVSS 7.5) silverstripe cms information disclosure vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Silverstripe/cms libraries in the Packagist ecosystem. The issue involves silverstripe cms information disclosure. Remediation is available by upgrading affected packages to version 4.4.7, 4.5.4.

CVE-2020-6164 at a Glance

CVE Identifier CVE-2020-6164
GHSA Identifier GHSA-gm5x-hpmw-xpxg
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Silverstripe/cms
Package Ecosystem Packagist
Published Date
Last Updated

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:H/I:N/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 High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2020-6164

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.

silverstripe/cms fixed: Latest secure release
Upgrade silverstripe/cms to Latest secure release
silverstripe/framework fixed: 4.4.7
Upgrade silverstripe/framework to 4.4.7
silverstripe/framework fixed: 4.5.4
Upgrade silverstripe/framework to 4.5.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/cms

How to Check if You Are Affected

To determine whether your application is affected by CVE-2020-6164, 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 4.4.7), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. 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

In SilverStripe through 4.5.0, a specific URL path configured by default through the silverstripe/framework module can be used to disclose the fact that a domain is hosting a Silverstripe application. There is no disclosure of the specific version. The functionality on this URL path is limited to execution in a CLI context, and is not known to present a vulnerability through web-based access. As a side-effect, this preconfigured path also blocks the creation of other resources on this path (e.g. a page).

CVE-2020-6164 Affected Silverstripe/cms Versions

3 component(s)
Fixed Versions:
4.4.74.5.4
Product / Package Ecosystem Affected Versions Fixed Version
silverstripe/cms
Packagist
≤ 4.5.0
silverstripe/framework
Packagist
≥ 4.0.0
< 4.4.7
4.4.7
silverstripe/framework
Packagist
≥ 4.5.0
< 4.5.4
4.5.4

References

Frequently Asked Questions

What is CVE-2020-6164?
CVE-2020-6164 is a security vulnerability in Silverstripe/cms involving Silverstripe CMS information disclosure under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Silverstripe/cms versions are affected?
Affected versions include releases prior to 4.4.7, 4.5.4 across affected packages: silverstripe/cms, silverstripe/framework.
What version fixes CVE-2020-6164?
Upgrading to 4.4.7, 4.5.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is silverstripe/cms affected?
Yes, silverstripe/cms is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
Is silverstripe/framework affected?
Yes, silverstripe/framework is affected in releases prior to 4.4.7, 4.5.4. Upgrade your dependency to 4.4.7, 4.5.4 or later.
What is the CVSS score of CVE-2020-6164?
CVE-2020-6164 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2020-6164?
CVE-2020-6164 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Packagist dependencies for CVE-2020-6164?
Run the dependency tree command: 'inspect dependencies for silverstripe/cms'. 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-gm5x-hpmw-xpxg",
  "modified" : "2024-05-22T19:15:57Z",
  "published" : "2022-05-24T17:23:41Z",
  "aliases" : [ "CVE-2020-6164" ],
  "summary" : "Silverstripe CMS information disclosure",
  "details" : "In SilverStripe through 4.5.0, a specific URL path configured by default through the silverstripe/framework module can be used to disclose the fact that a domain is hosting a Silverstripe application. There is no disclosure of the specific version. The functionality on this URL path is limited to execution in a CLI context, and is not known to present a vulnerability through web-based access. As a side-effect, this preconfigured path also blocks the creation of other resources on this path (e.g. a page).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "4.5.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.4.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.5.0"
      }, {
        "fixed" : "4.5.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-6164"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-framework/commit/91d30db88f68b9b87980ef9a59e208a81980b72c"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-framework/commit/cce2b1630937895aa28c2914837651e7cd56d74b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2020-6164.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/silverstripe/silverstripe-cms"
  }, {
    "type" : "WEB",
    "url" : "https://www.silverstripe.org/download/security-releases/CVE-2020-6164"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-13T21:23:18Z",
    "nvd_published_at" : "2020-07-15T21:15:00Z"
  }
}