GHSA-x8xx-x82q-42q3

Suggest an improvement
Source
https://github.com/advisories/GHSA-x8xx-x82q-42q3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-x8xx-x82q-42q3/GHSA-x8xx-x82q-42q3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x8xx-x82q-42q3
Aliases
  • CVE-2022-25336
Published
2022-02-19T00:01:25Z
Modified
2024-02-16T08:11:22.062597Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Exposure of Resource to Wrong Sphere in ezsystems/ezplatform-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.

Database specific
{
    "nvd_published_at": "2022-02-18T18:15:00Z",
    "cwe_ids": [
        "CWE-668"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-03-04T21:37:29Z"
}
References

Affected packages

Packagist / ezsystems/ezplatform-kernel

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.3.0
Fixed
1.3.12

Affected versions

v1.*

v1.3.0
v1.3.1
v1.3.1.1
v1.3.2
v1.3.3
v1.3.4
v1.3.5
v1.3.6
v1.3.7
v1.3.8
v1.3.9
v1.3.10
v1.3.11