Sårbarheter

CVE-2024-45290

Høy 7.5 CVSS 3.1

Beskrivelse

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.

Beskrivelsen gjengis slik kilden har publisert den, på engelsk.

Nøkkelfakta

Publisert
2024-10-07
Sist endret
2026-06-17
Tildelt av
security-advisories@github.com
CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Scoret av
nvd@nist.gov (NVD Primary)
Sannsynlighet for utnyttelse
0.6 % høyere enn 45 % av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15
Rettelse finnes
Ja, se referansene

Berørte produkter

Leverandør Produkt Versjoner Status
phpoffice phpexcel (Packagist) ≤ 1.8.2 Berørt
Phpoffice Phpspreadsheet < 1.29.2 Berørt
phpoffice phpspreadsheet (Packagist) < 1.29.2 Berørt
Phpoffice Phpspreadsheet ≥ 2.0.0, < 2.1.1 Berørt
phpoffice phpspreadsheet (Packagist) ≥ 2.0.0, < 2.1.1 Berørt
Phpoffice Phpspreadsheet ≥ 2.2.0, < 2.3.0 Berørt
phpoffice phpspreadsheet (Packagist) ≥ 2.2.0, < 2.3.0 Berørt

Svakhetstype

  • CWE-36: Absolute Path Traversal

    The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize absolute path sequences such as "/abs/path" that can resolve to a location that i…

  • CWE-918: Server-Side Request Forgery

    The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

Referanser

Berører dette dere?

En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.

Sjekk aktivalisten deres Bla i alle sårbarheter