216.73.216.6

CVE-2024-45291

· Published 07/10/2024 21:15 · Modified 16/10/2024 19:09

Labels: CVE-2024-45291 2024-10-07CVE-2024-45291CWE-22CWE-36[email protected]

Essential information

Published
07/10/2024 21:15
Modified
16/10/2024 19:09
Author
Creator
CVSS
8.8 HIGH (v3.1)
CISA KEV
No
CWE
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS metrics

Description

PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. It's possible for an attacker to construct an XLSX file that links images from arbitrary paths. When embedding images has been enabled in HTML writer with `$writer->setEmbedImages(true);` those files will be included in the output as `data:` URLs, regardless of the file's type. Also URLs can be used for embedding, resulting in a Server-Side Request Forgery vulnerability. When embedding images has been enabled, an attacker can read arbitrary files on the server and perform arbitrary HTTP GET requests. Note that any PHP protocol wrappers can be used, meaning that if for example the `expect://` wrapper is enabled, also remote code execution is possible. 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.

NVD status

Status
Analyzed — CVE has been recently published to the CVE List and has been received by the NVD.
Source
[email protected]
NVD
View on NVD

Affected products (CPE)

ProductCPE
phpoffice / phpspreadsheet cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*
phpoffice / phpspreadsheet cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*
phpoffice / phpspreadsheet cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*

References