CVE-2024-42485
PHP vulnerability analysis and mitigation

Overview

CVE-2024-42485 is a path traversal vulnerability discovered in Filament Excel, a package that enables excel export functionality for Filament admin resources. The vulnerability was disclosed on August 12, 2024, affecting versions from 1.0.0 to 1.1.14 and 2.0.0 to 2.3.3. The issue exists in the export download route /filament-excel/{path} which allowed unauthorized file downloads when the webserver permits ../ in the URL (NVD).

Technical details

The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) with a CVSS v3.1 base score of 7.5 (HIGH). The attack vector is network-accessible (AV:N), requires low attack complexity (AC:L), needs no privileges (PR:N), requires no user interaction (UI:N), has unchanged scope (S:U), and can result in high confidentiality impact (C:H) with no impact on integrity (I:N) or availability (A:N) (NVD).

Impact

The vulnerability allows unauthorized access to files outside the intended directory structure through path traversal techniques. An attacker could potentially access sensitive files on the system when the webserver configuration allows directory traversal using '../' in URLs (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 2.3.3 of Filament Excel. Users are strongly advised to upgrade to this version or later to address the security issue. The fix implements signed middleware to prevent unauthorized access to the download endpoint (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management