GHSA-qhjc-hg94-245v: Ezsystems/ezplatform EZ Platform Prevent Accepting App.php Vulnerability

MODERATE
Published
Advisory Summary

GHSA-qhjc-hg94-245v is a MODERATE ez platform prevent accepting app.php vulnerability (General Security Weakness) affecting Ezsystems/ezplatform libraries in the Packagist ecosystem. The issue involves ez platform prevent accepting app.php in url in platform.sh. Remediation is available by upgrading affected packages to version 2.5.4, 1.13.5.1, 1.7.9.1.

GHSA-qhjc-hg94-245v at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-qhjc-hg94-245v
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Ezsystems/ezplatform
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-qhjc-hg94-245v

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.4
Upgrade ezsystems/ezplatform to 2.5.4
ezsystems/ezplatform fixed: 1.13.5.1
Upgrade ezsystems/ezplatform to 1.13.5.1
ezsystems/ezplatform fixed: 1.7.9.1
Upgrade ezsystems/ezplatform to 1.7.9.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-qhjc-hg94-245v, 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.4), 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 General Security Weakness. 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 recommended rewrite rules in eZ Platform prevent users from including the front-controller script (normally "app.php") in URLs. This prevents certain vulnerabilities related to caching. However, this is not possible when using eZ Platform Cloud (i.e. running eZ Platform on the Platform.sh cloud service), nor can it be done within the .platform.app.yaml configuration file. Therefore we need to reject such requests in the application itself. This advisory adds the prevention within the front controller script itself. If you use eZ Platform Cloud / Platform.sh we recommend that you install this security update as soon as possible. It is distributed via Composer as ezsystems/ezplatform 1.7.9.1, and 1.13.5.1, and 2.5.4. This is the commit: https://github.com/ezsystems/ezplatform/commit/34ce86722b36a172e587068fe64a84faa7320cc2

GHSA-qhjc-hg94-245v Affected Ezsystems/ezplatform Versions

3 component(s)
Fixed Versions:
2.5.41.13.5.11.7.9.1
Product / Package Ecosystem Affected Versions Fixed Version
ezsystems/ezplatform
Packagist
≥ 2.5.0
< 2.5.4
2.5.4
ezsystems/ezplatform
Packagist
≥ 1.13.0
< 1.13.5.1
1.13.5.1
ezsystems/ezplatform
Packagist
≥ 1.7.0
< 1.7.9.1
1.7.9.1

References

Frequently Asked Questions

What is GHSA-qhjc-hg94-245v?
GHSA-qhjc-hg94-245v is a security vulnerability in Ezsystems/ezplatform involving eZ Platform Prevent accepting app.php in URL in Platform.sh under General Security Weakness.
Which Ezsystems/ezplatform versions are affected?
Affected versions include releases prior to 2.5.4, 1.13.5.1, 1.7.9.1 across affected packages: ezsystems/ezplatform.
What version fixes GHSA-qhjc-hg94-245v?
Upgrading to 2.5.4, 1.13.5.1, 1.7.9.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.4, 1.13.5.1, 1.7.9.1. Upgrade your dependency to 2.5.4, 1.13.5.1, 1.7.9.1 or later.
What CWE is associated with GHSA-qhjc-hg94-245v?
GHSA-qhjc-hg94-245v is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-qhjc-hg94-245v?
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-qhjc-hg94-245v",
  "modified" : "2024-05-15T21:18:20Z",
  "published" : "2024-05-15T21:18:20Z",
  "aliases" : [ ],
  "summary" : "eZ Platform Prevent accepting app.php in URL in Platform.sh",
  "details" : "The recommended rewrite rules in eZ Platform prevent users from including the front-controller script (normally \"app.php\") in URLs. This prevents certain vulnerabilities related to caching. However, this is not possible when using eZ Platform Cloud (i.e. running eZ Platform on the Platform.sh cloud service), nor can it be done within the .platform.app.yaml configuration file. Therefore we need to reject such requests in the application itself. This advisory adds the prevention within the front controller script itself.\n \nIf you use eZ Platform Cloud / Platform.sh we recommend that you install this security update as soon as possible. It is distributed via Composer as ezsystems/ezplatform 1.7.9.1, and 1.13.5.1, and 2.5.4. This is the commit: https://github.com/ezsystems/ezplatform/commit/34ce86722b36a172e587068fe64a84faa7320cc2\n\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.5.0"
      }, {
        "fixed" : "2.5.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.13.0"
      }, {
        "fixed" : "1.13.5.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezplatform"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.7.0"
      }, {
        "fixed" : "1.7.9.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezplatform/commit/34ce86722b36a172e587068fe64a84faa7320cc2"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezplatform/2019-09-03-2.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ezsystems/ezplatform"
  }, {
    "type" : "WEB",
    "url" : "https://share.ez.no/community-project/security-advisories/ezsa-2019-007-prevent-accepting-app.php-in-url-in-platform.sh"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-15T21:18:20Z",
    "nvd_published_at" : null
  }
}