GHSA-6xch-2vxx-5pvr

Suggest an improvement
Source
https://github.com/advisories/GHSA-6xch-2vxx-5pvr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-6xch-2vxx-5pvr/GHSA-6xch-2vxx-5pvr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6xch-2vxx-5pvr
Published
2024-05-15T21:16:02Z
Modified
2024-11-29T05:40:26.854685Z
Summary
eZ Platform Rules to disable executable access are ignored on Platform.sh (eZ Cloud)
Details

The recommended Apache/Nginx virtual host configuration for eZ Platform includes a rewrite rule for blocking access to executable files in the var directory. This rule does not work when using eZ Platform Cloud (i.e. running eZ Platform on the Platform.sh cloud service).

The consequence of this is that in such a setup, those executable files may be downloadable. They will not be executable, unless you have specifically configured platform.sh to allow that (which you really should not do). The severity of the download access is limited, but it's better if the platform.sh cloud setup works the same way as regular eZ Platform does. All platform.sh setups are affected.

The fix adds a rule to the .platform.app.yaml configuration file, with the same effect as the rewrite rule already mentioned. After applying the fix, any attempt to access such files will fail with Access Denied. This security update 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/773dddc0d8fe4fda34d2153a401eeaa6cc30b1ff

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-670"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-05-15T21:16:02Z"
}
References

Affected packages

Packagist / ezsystems/ezplatform

Package

Name
ezsystems/ezplatform
Purl
pkg:composer/ezsystems/ezplatform

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.5.0
Fixed
2.5.4

Affected versions

v2.*

v2.5.0
v2.5.1
v2.5.2
v2.5.3

Packagist / ezsystems/ezplatform

Package

Name
ezsystems/ezplatform
Purl
pkg:composer/ezsystems/ezplatform

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.13.0
Fixed
1.13.5.1

Affected versions

v1.*

v1.13.0
v1.13.1-rc1
v1.13.1
v1.13.1.1
v1.13.2-rc1
v1.13.2
v1.13.3-rc1
v1.13.3
v1.13.4-beta1
v1.13.4-rc1
v1.13.4-rc2
v1.13.4
v1.13.4.1
v1.13.5-rc1
v1.13.5-rc2
v1.13.5

Packagist / ezsystems/ezplatform

Package

Name
ezsystems/ezplatform
Purl
pkg:composer/ezsystems/ezplatform

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.7.0
Fixed
1.7.9.1

Affected versions

v1.*

v1.7.0
v1.7.1-rc1
v1.7.2-rc1
v1.7.2-rc2
v1.7.2
v1.7.3-rc1
v1.7.3-rc2
v1.7.3
v1.7.4-rc1
v1.7.4
v1.7.5-rc1
v1.7.5-rc2
v1.7.5
v1.7.6-rc1
v1.7.6
v1.7.7-rc1
v1.7.7-rc2
v1.7.7
v1.7.8-rc1
v1.7.8-rc2
v1.7.8
v1.7.8.1
v1.7.9-rc1
v1.7.9