VDB
Sign up
CRITICAL9.8

GHSA-xwv6-v7qx-f5jc

Code injection in ezsystems/ezpublish-kernel

Quick fix

GHSA-xwv6-v7qx-f5jc — ezsystems/ezpublish-kernel: upgrade to the fixed version with the command below.

composer require ezsystems/ezpublish-kernel:^7.5.26

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/ezsystems/ezpublish-kernel
Introduced in: 7.5.0Fixed in: 7.5.26
Fixcomposer require ezsystems/ezpublish-kernel:^7.5.26

References