GitHub Advisoryadvisory · Packagist

GHSA-x8xx-x82q-42q3 Exposure of Resource to Wrong Sphere in ezsystems/ezplatform-kernel

MEDIUM Published 2022-02-19 Modified 2023-08-08 Official page ↗
Aliases
CVE-2022-25336
Ecosystem
Packagist
Packages
ezsystems/ezplatform-kernel
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-668
Reviewed
2022-03-04

Affected packages

• Packagist ezsystems/ezplatform-kernel: >= 1.3.0, < 1.3.12 → fixed in 1.3.12

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-25336 Ibexa DXP ezsystems/ezpublish-kernel 7.5.x before 7.5.26 and 1.3.x before 1.3.12 allows Insecure Direct Object Reference (IDOR) attacks… vulnerability

Weakness · CWE (1)

  • CWE-668 Exposure of Resource to Wrong Sphere weakness

References