Filament Excel Vulnerable to Path Traversal Attack on Export Download Endpoint
The advisory, in context
Impact
The export download route /filament-excel/{path} allowed downloading any file without login when the webserver allows ../ in the URL.
Patches
Patched with Version v2.3.3
Credits
Thanks to Kevin Pohl for reporting this.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
From 2.0.0-alpha before 2.3.3
Fixed in 2.3.3
19 explicitly affected versions
v2.0.0, v2.0.0-alpha, v2.0.1, v2.1.0, v2.1.1, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.2.0, v2.2.1, v2.2.2, v2.2.3, v2.3.0, v2.3.1, v2.3.2
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.0.0-alpha"
},
{
"fixed": "2.3.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.0.0",
"v2.0.0-alpha",
"v2.0.1",
"v2.1.0",
"v2.1.1",
"v2.1.2",
"v2.1.3",
"v2.1.4",
"v2.1.5",
"v2.1.6",
"v2.1.7",
"v2.1.8",
"v2.2.0",
"v2.2.1",
"v2.2.2",
"v2.2.3",
"v2.3.0",
"v2.3.1",
"v2.3.2"
]
}Earlier releases before 1.1.14
Fixed in 1.1.14
24 explicitly affected versions
0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, v1.0.0, v1.0.0-beta, v1.0.0-beta2, v1.0.1, v1.0.2, v1.1.0, v1.1.1, v1.1.10, v1.1.11, v1.1.12, v1.1.13, v1.1.2, v1.1.3, v1.1.4, v1.1.5, v1.1.6, v1.1.7, v1.1.8, v1.1.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.1.14"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.1.0",
"0.1.1",
"0.1.2",
"0.1.3",
"0.1.4",
"v1.0.0",
"v1.0.0-beta",
"v1.0.0-beta2",
"v1.0.1",
"v1.0.2",
"v1.1.0",
"v1.1.1",
"v1.1.10",
"v1.1.11",
"v1.1.12",
"v1.1.13",
"v1.1.2",
"v1.1.3",
"v1.1.4",
"v1.1.5",
"v1.1.6",
"v1.1.7",
"v1.1.8",
"v1.1.9"
]
}References
- https://github.com/pxlrbt/filament-excel/security/advisories/GHSA-m3px-vjxr-fx4m
- https://nvd.nist.gov/vuln/detail/CVE-2024-42485
- https://github.com/pxlrbt/filament-excel/commit/af36f933b032aefccc87d17431b6e74673b04af5
- https://github.com/pxlrbt/filament-excel/commit/bda42891a4b0c15d5dab5da8c53a006ddadccfb7
- https://github.com/pxlrbt/filament-excel
- https://github.com/pxlrbt/filament-excel/releases/tag/v1.1.14