GHSA-2rh5-jvgx-pgw3: Ezsystems/ezplatform Any Storage File Can Be Vulnerability

HIGH
CWE-200
Published
Advisory Summary

GHSA-2rh5-jvgx-pgw3 is a HIGH any storage file can be vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Ezsystems/ezplatform libraries in the Packagist ecosystem. The issue involves any storage file can be downloaded from p.sh if full server path is known. Remediation is available by upgrading affected packages to version 2.5.24.1, 1.13.6.1.

GHSA-2rh5-jvgx-pgw3 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-2rh5-jvgx-pgw3
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Ezsystems/ezplatform
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-2rh5-jvgx-pgw3

To remediate this vulnerability, upgrade all affected Ezsystems/ezplatform dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

ezsystems/ezplatform fixed: 2.5.24.1
Upgrade ezsystems/ezplatform to 2.5.24.1
ezsystems/ezplatform fixed: 1.13.6.1
Upgrade ezsystems/ezplatform to 1.13.6.1
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 ezsystems/ezplatform

How to Check if You Are Affected

To determine whether your application is affected by GHSA-2rh5-jvgx-pgw3, inspect your project dependencies for Ezsystems/ezplatform:

inspect dependencies for ezsystems/ezplatform

Analyze the terminal output to locate any version of Ezsystems/ezplatform in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.5.24.1), 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 Ezsystems/ezplatform, 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

The default configuration for platform.sh (.platform.app.yaml) allows access to uploaded files if you know or can guess their location, regardless of whether roles grant content read access to the content containing those files. If you're using Legacy Bridge, the default configuration also allows access to certain legacy files that should not be readable, including the legacy var directory and extension directories.

GHSA-2rh5-jvgx-pgw3 Affected Ezsystems/ezplatform Versions

2 component(s)
Fixed Versions:
2.5.24.11.13.6.1
Product / Package Ecosystem Affected Versions Fixed Version
ezsystems/ezplatform
Packagist
≥ 2.0.0
< 2.5.24.1
2.5.24.1
ezsystems/ezplatform
Packagist
< 1.13.6.1
1.13.6.1

References

Frequently Asked Questions

What is GHSA-2rh5-jvgx-pgw3?
GHSA-2rh5-jvgx-pgw3 is a security vulnerability in Ezsystems/ezplatform involving Any storage file can be downloaded from p.sh if full server path is known under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Ezsystems/ezplatform versions are affected?
Affected versions include releases prior to 2.5.24.1, 1.13.6.1 across affected packages: ezsystems/ezplatform.
What version fixes GHSA-2rh5-jvgx-pgw3?
Upgrading to 2.5.24.1, 1.13.6.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ezsystems/ezplatform affected?
Yes, ezsystems/ezplatform is affected in releases prior to 2.5.24.1, 1.13.6.1. Upgrade your dependency to 2.5.24.1, 1.13.6.1 or later.
What CWE is associated with GHSA-2rh5-jvgx-pgw3?
GHSA-2rh5-jvgx-pgw3 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 GHSA-2rh5-jvgx-pgw3?
Run the dependency tree command: 'inspect dependencies for ezsystems/ezplatform'. 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-2rh5-jvgx-pgw3",
  "modified" : "2021-09-14T18:35:38Z",
  "published" : "2021-09-14T20:25:13Z",
  "aliases" : [ ],
  "summary" : "Any storage file can be downloaded from p.sh if full server path is known",
  "details" : "The default configuration for platform.sh (.platform.app.yaml) allows access to uploaded files if you know or can guess their location, regardless of whether roles grant content read access to the content containing those files. If you're using Legacy Bridge, the default configuration also allows access to certain legacy files that should not be readable, including the legacy var directory and extension directories.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.5.24.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.5.24"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.13.6.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 1.13.6"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezplatform/security/advisories/GHSA-2rh5-jvgx-pgw3"
  }, {
    "type" : "WEB",
    "url" : "https://developers.ibexa.co/security-advisories/ibexa-sa-2021-006-storage-and-legacy-files-accessible-if-path-is-known"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ezsystems/ezplatform"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-09-14T18:35:38Z",
    "nvd_published_at" : null
  }
}