Skip to content

Files with blacklisted extensions can be still saved to drafts

Moderate
glye published GHSA-mwvh-p3hx-x4gg Mar 20, 2024

Package

composer ezsystems/ezplatform-kernel (Composer)

Affected versions

v1.3.*

Patched versions

v1.3.35

Description

Impact

File validation can be configured to reject certain files by file type. When this happens, validation fails, and the content can't be published. However, the file can be saved when saving the content draft. This means unwanted files can be present in storage, even if they are not easily accessible due to the content not being published. The fix ensures these unwanted file types are never stored. An attacker would need to have existing access to create content with a file field type to exploit this.

Patches

See "Patched versions".
Commit: 7e47231

References

https://developers.ibexa.co/security-advisories/ibexa-sa-2024-002-file-validation-and-workflow-stages

Severity

Moderate

CVE ID

No known CVE

Weaknesses

No CWEs