Advisory

GHSA-xwv6-v7qx-f5jc

Also known as: CVE-2022-25337

Summary

Code injection in ezsystems/ezpublish-kernel

Details

When image files are uploaded, they are made accessible under a name similar to the original file name. There are two issues with this. Both require access to uploading images in order to exploit them, this limits the impact. The first issue is that certain injection attacks can be possible, since not all possible attack vectors are removed from the original file name.

The second issue is that direct access to the images is not access controlled. This is by design, for performance reasons, and documented as such. But it does mean that images not meant to be publicly accessible can be accessed, provided that the image path and filename is correctly deduced and/or guessed, through dictionary attacks and similar.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-02-19 00:01 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

ezsystems/ezpublish-kernel

Packagist · All systems

Affected

  • introduced 7.5.0, fixed 7.5.26 (ecosystem)

Fixed versions

7.5.26

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