Vulnerability Details CVE-2024-45290
PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. It's possible for an attacker to construct an XLSX file which links media from external URLs. When opening the XLSX file, PhpSpreadsheet retrieves the image size and type by reading the file contents, if the provided path is a URL. By using specially crafted `php://filter` URLs an attacker can leak the contents of any file or URL. Note that this vulnerability is different from GHSA-w9xv-qf98-ccq4, and resides in a different component. An attacker can access any file on the server, or leak information form arbitrary URLs, potentially exposing sensitive information such as AWS IAM credentials. This issue has been addressed in release versions 1.29.2, 2.1.1, and 2.3.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.001
EPSS Ranking 36.1%
CVSS Severity
CVSS v3 Score 7.7
Products affected by CVE-2024-45290
-
cpe:2.3:a:phpoffice:phpspreadsheet:-
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.0.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.1.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.10.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.10.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.11.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.12.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.13.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.14.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.14.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.15.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.16.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.17.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.17.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.18.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.19.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.2.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.2.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.20.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.21.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.22.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.23.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.24.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.24.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.25.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.25.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.25.2
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.26.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.27.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.27.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.28.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.29.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.29.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.3.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.3.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.4.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.4.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.5.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.5.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.5.2
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.6.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.7.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.8.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.8.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.8.2
-
cpe:2.3:a:phpoffice:phpspreadsheet:1.9.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:2.0.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:2.1.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:2.2.0
-
cpe:2.3:a:phpoffice:phpspreadsheet:2.2.1
-
cpe:2.3:a:phpoffice:phpspreadsheet:2.2.2