Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-45290— Path traversal and Server-Side Request Forgery when opening XLSX files in PHPSpreadsheet

CVSS 7.7 · High EPSS 0.30% · P54
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-45290

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Path traversal and Server-Side Request Forgery when opening XLSX files in PHPSpreadsheet
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
绝对路径遍历
Source: NVD (National Vulnerability Database)
Vulnerability Title
PhpSpreadsheet 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PhpSpreadsheet是PHPOffice开源的一款用于读取和写入电子表格文件的PHP库。 PhpSpreadsheet存在安全漏洞,该漏洞源于允许通过读取文件内容来检索图像大小和类型。攻击者利用该漏洞可以泄露任何文件或URL的内容。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
PHPOfficePhpSpreadsheet < 1.29.2 -

II. Public POCs for CVE-2024-45290

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-45290

登录查看更多情报信息。

Same Patch Batch · PHPOffice · 2024-10-07 · 5 CVEs total

CVE-2024-452937.5 HIGHXML External Entity Reference (XXE) in PHPSpreadsheet's XLSX reader
CVE-2024-450607.1 HIGHUnauthenticated Cross-Site-Scripting (XSS) in sample file in PHPSpreadsheet
CVE-2024-452916.3 MEDIUMPath traversal and Server-Side Request Forgery in HTML writer when embedding images is ena
CVE-2024-452925.4 MEDIUMPhpSpreadsheet HTML writer is vulnerable to Cross-Site Scripting via JavaScript hyperlinks

IV. Related Vulnerabilities

V. Comments for CVE-2024-45290

No comments yet


Leave a comment