CVE-2024-42485 Filament Excel Vulnerable to Path Traversal Attack on Export Download Endpoint
An unauthenticated attacker can download arbitrary files via path traversal if the webserver allows directory traversal in URLs.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-42485?
CVE-2024-42485 is a high-severity path traversal vulnerability in pxlrbt filament-excel, published on 12 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Filament Excel enables excel export for Filament admin resources. The export download route `/filament-excel/{path}` allowed downloading any file without login when the webserver allows `../` in the URL. Patched with Version v2.3.3.
Weakness: CWE-22
Which versions are affected by CVE-2024-42485?
4 open source packages ship an affected version, including pxlrbt/filament-excel. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
pxlrbt/filament-excel Packagist | All versions | 1.1.14 |
pxlrbt/filament-excel Packagist | All versions | 1.1.14 |
pxlrbt/filament-excel Packagist | From 2.0.0-alpha | 2.3.3 |
pxlrbt/filament-excel Packagist | From 2.0.0-alpha | 2.3.3 |
Products include Pxlrbt Filament Excel.
How do I fix CVE-2024-42485?
Upgrade pxlrbt/filament-excel to a fixed version for your release line: 1.1.14 or 2.3.3.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-42485 being exploited?
There is no known exploitation of CVE-2024-42485 in the wild and no public exploit code.
Sources
Also known as GHSA-m3px-vjxr-fx4m.