GHSA-9j39-4686-m3c4 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-9j39-4686-m3c4?
GHSA-9j39-4686-m3c4 is a vulnerability in ibexa/core, 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/ibexa/core/commit/7e472317f7c75f45f72f74c38406952d8bea0de1
References
Which versions are affected by GHSA-9j39-4686-m3c4?
4 open source packages ship an affected version, including ibexa/core.
| Package | Affected | Fixed in |
|---|---|---|
ibexa/core Packagist | From 4.5.0 | 4.5.6 |
ibexa/core Packagist | From 4.5.0 | 4.5.6 |
ibexa/core Packagist | From 4.6.0 | 4.6.2 |
ibexa/core Packagist | From 4.6.0 | 4.6.2 |
How do I fix GHSA-9j39-4686-m3c4?
Upgrade ibexa/core to a fixed version for your release line: 4.5.6 or 4.6.2.
Is GHSA-9j39-4686-m3c4 being exploited?
There is no known exploitation of GHSA-9j39-4686-m3c4 in the wild and no public exploit code.