GHSA-mwvh-p3hx-x4gg Ibexa Kernel's files with blacklisted extensions can be still saved to drafts
Attackers with content creation access can bypass file type restrictions by saving blacklisted files as drafts, storing unwanted files in the system.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-mwvh-p3hx-x4gg?
GHSA-mwvh-p3hx-x4gg is a vulnerability in ezsystems/ezplatform-kernel, published on 20 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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: https://github.com/ezsystems/ezplatform-kernel/commit/7e472317f7c75f45f72f74c38406952d8bea0de1
References
Which versions are affected by GHSA-mwvh-p3hx-x4gg?
2 open source packages ship an affected version, including ezsystems/ezplatform-kernel.
| Package | Affected | Fixed in |
|---|---|---|
ezsystems/ezplatform-kernel Packagist | From 1.3.0 | 1.3.35 |
ezsystems/ezplatform-kernel Packagist | From 1.3.0 | 1.3.35 |
How do I fix GHSA-mwvh-p3hx-x4gg?
Upgrade ezsystems/ezplatform-kernel to 1.3.35 or later.
Is GHSA-mwvh-p3hx-x4gg being exploited?
There is no known exploitation of GHSA-mwvh-p3hx-x4gg in the wild and no public exploit code.