Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-45290

7.7 · HIGH
Published Oct 7, 2024 phpoffice CWE-36 EPSS 0.62% (47th pctl)

Overview

CVE-2024-45290 is a high-severity vulnerability affecting phpoffice phpspreadsheet. It was published on October 7, 2024 and has a CVSS 3.1 base score of 7.7 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.7, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from phpoffice. Update phpspreadsheet to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
phpoffice phpspreadsheet >= 0, < 1.29.2 Affected

Frequently Asked Questions

What is CVE-2024-45290?

CVE-2024-45290 is a high-severity vulnerability affecting phpoffice phpspreadsheet. It was published on October 7, 2024 and has a CVSS 3.1 base score of 7.7 (HIGH).

How severe is CVE-2024-45290?

This vulnerability has a CVSS 3.1 base score of 7.7, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-45290?

Check the references section for vendor advisories and patches from phpoffice. Update phpspreadsheet to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-45290?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-45290 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.