GHSA-qhjc-hg94-245v: Ezsystems/ezplatform EZ Platform Prevent Accepting App.php Vulnerability
MODERATEGHSA-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
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.
Upgrade ezsystems/ezplatform to 2.5.4
Upgrade ezsystems/ezplatform to 1.13.5.1
Upgrade ezsystems/ezplatform to 1.7.9.1
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
GHSA-qhjc-hg94-245v Affected Ezsystems/ezplatform Versions
3 component(s)| 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?
Which Ezsystems/ezplatform versions are affected?
What version fixes GHSA-qhjc-hg94-245v?
Is ezsystems/ezplatform affected?
What CWE is associated with GHSA-qhjc-hg94-245v?
How can I check Packagist dependencies for GHSA-qhjc-hg94-245v?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}