Absolute Path Traversal Affecting phpoffice/phpspreadsheet package, versions <1.29.2 >=2.0.0, <2.1.1 >=2.2.0, <2.3.0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PHP-PHPOFFICEPHPSPREADSHEET-8163659
- published 8 Oct 2024
- disclosed 7 Oct 2024
- credit Emil Virkki
Introduced: 7 Oct 2024
CVE-2024-45290 Open this link in a new tabHow to fix?
Upgrade phpoffice/phpspreadsheet
to version 1.29.2, 2.1.1, 2.3.0 or higher.
Overview
phpoffice/phpspreadsheet is a Spreadsheet engine that Read, Create and Write Spreadsheet documents in PHP .
Affected versions of this package are vulnerable to Absolute Path Traversal via the setPath
method. An attacker can access or leak sensitive information by constructing a malicious XLSX file that manipulates the path to external or internal resources, exploiting the file reading mechanism to extract data. The attack vector evidenced relies on the use of an error oracle to extract data one character at a time.