Advisory

GHSA-qhjc-hg94-245v

Also known as: None

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.

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-05-15 21:18 UTC
Modified
2024-11-29 05:33 UTC

Affected packages and fixes

ezsystems/ezplatform

Packagist · All systems

Affected

  • introduced 2.5.0, fixed 2.5.4 (ecosystem)

Fixed versions

2.5.4

Fix

The export has no generic command for this ecosystem.

ezsystems/ezplatform

Packagist · All systems

Affected

  • introduced 1.13.0, fixed 1.13.5.1 (ecosystem)

Fixed versions

1.13.5.1

Fix

The export has no generic command for this ecosystem.

ezsystems/ezplatform

Packagist · All systems

Affected

  • introduced 1.7.0, fixed 1.7.9.1 (ecosystem)

Fixed versions

1.7.9.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences