XML External Entity injection in Spreadsheet::ParseXLSX - CVE-2024-23525

 

XML External Entity injection in Spreadsheet::ParseXLSX - CVE-2024-23525

Published: March 6, 2024


Vulnerability identifier: #VU87170
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-23525
CWE-ID: CWE-611
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to insufficient validation of user-supplied XML input. A remote attacker can pass a specially crafted XML code to the affected application and view contents of arbitrary files on the system or initiate requests to external systems.

Successful exploitation of the vulnerability may allow an attacker to view contents of arbitrary file on the server or perform network scanning of internal and external infrastructure.


Affected software

Spreadsheet::ParseXLSX
Ubuntu
libspreadsheet-parsexlsx-perl (Ubuntu package)

How to mitigate CVE-2024-23525

Install updates from vendor's website.

Spreadsheet::ParseXLSX - update to 0.30
libspreadsheet-parsexlsx-perl (Ubuntu package) - addressed in versions 0.27-2+deb10u1build0.20.04.1, 0.27-2.1+deb11u2build0.22.04.1, 0.27-3+deb12u2build0.23.10.1

External References

Related Security Bulletins