Skip to content

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

Unknown
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

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

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
ezsystems/ezplatform(Packagist) = v1.7.0; = v1.7.1-rc1; = v1.7.2; = v1.7.2-rc1 +43 more 1.7.9.1, 1.13.5.1, 2.5.4 Fixed

Affected products

ProductAffected versionsFixed in
ezsystems/ezplatform(Packagist) >= 2.5.0, < 2.5.4 2.5.4
ezsystems/ezplatform(Packagist) = v2.5.0 No fix listed
ezsystems/ezplatform(Packagist) = v2.5.1 No fix listed
ezsystems/ezplatform(Packagist) = v2.5.2 No fix listed
ezsystems/ezplatform(Packagist) = v2.5.3 No fix listed
ezsystems/ezplatform(Packagist) >= 1.13.0, < 1.13.5.1 1.13.5.1
ezsystems/ezplatform(Packagist) = v1.13.0 No fix listed
ezsystems/ezplatform(Packagist) = v1.13.1 No fix listed
ezsystems/ezplatform(Packagist) = v1.13.1-rc1 No fix listed
ezsystems/ezplatform(Packagist) = v1.13.1.1 No fix listed
ezsystems/ezplatform(Packagist) = v1.13.2 No fix listed
ezsystems/ezplatform(Packagist) = v1.13.2-rc1 No fix listed
ezsystems/ezplatform(Packagist) = v1.13.3 No fix listed
ezsystems/ezplatform(Packagist) = v1.13.3-rc1 No fix listed
ezsystems/ezplatform(Packagist) = v1.13.4 No fix listed
ezsystems/ezplatform(Packagist) = v1.13.4-beta1 No fix listed
ezsystems/ezplatform(Packagist) = v1.13.4-rc1 No fix listed
ezsystems/ezplatform(Packagist) = v1.13.4-rc2 No fix listed
ezsystems/ezplatform(Packagist) = v1.13.4.1 No fix listed
ezsystems/ezplatform(Packagist) = v1.13.5 No fix listed
ezsystems/ezplatform(Packagist) = v1.13.5-rc1 No fix listed
ezsystems/ezplatform(Packagist) = v1.13.5-rc2 No fix listed
ezsystems/ezplatform(Packagist) >= 1.7.0, < 1.7.9.1 1.7.9.1
ezsystems/ezplatform(Packagist) = v1.7.0 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.1-rc1 No fix listed
Show 22 more
ProductAffected versionsFixed in
ezsystems/ezplatform(Packagist) = v1.7.2 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.2-rc1 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.2-rc2 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.3 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.3-rc1 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.3-rc2 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.4 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.4-rc1 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.5 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.5-rc1 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.5-rc2 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.6 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.6-rc1 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.7 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.7-rc1 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.7-rc2 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.8 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.8-rc1 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.8-rc2 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.8.1 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.9 No fix listed
ezsystems/ezplatform(Packagist) = v1.7.9-rc1 No fix listed

References