Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. ezsystems/ezplatform
  4. ›
  5. GHSA-qhjc-hg94-245v

GHSA-qhjc-hg94-245v: eZ Platform Prevent accepting app.php in URL in Platform.sh

May 15, 2024

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

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezplatform/2019-09-03-2.yaml
  • github.com/advisories/GHSA-qhjc-hg94-245v
  • github.com/ezsystems/ezplatform
  • github.com/ezsystems/ezplatform/commit/34ce86722b36a172e587068fe64a84faa7320cc2
  • share.ez.no/community-project/security-advisories/ezsa-2019-007-prevent-accepting-app.php-in-url-in-platform.sh

Code Behaviors & Features

Detect and mitigate GHSA-qhjc-hg94-245v with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.7.0 before 1.7.9.1, all versions starting from 1.13.0 before 1.13.5.1, all versions starting from 2.5.0 before 2.5.4

Fixed versions

  • 2.5.4
  • 1.13.5.1
  • 1.7.9.1

Solution

Upgrade to versions 1.13.5.1, 1.7.9.1, 2.5.4 or above.

Source file

packagist/ezsystems/ezplatform/GHSA-qhjc-hg94-245v.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:02 +0000.