Spreadsheet::ParseExcel RCE (CVE-2023-7101)

high Nessus Plugin ID 197297

Synopsis

The Perl module is vulnerable to an remote code execution vulnerability.

Description

According to its self-reported version number, the Spreadsheet::ParseExcel perl module is vulnerable to a remote code execution vulnerability due to passing unvalidated input from a file into a string-type “eval”. Specifically, the issue stems from the evaluation of Number format strings (not to be confused with printf-style format strings) within the Excel parsing logic.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Spreadsheet::ParseExcel version 0.66 or later.

See Also

http://www.nessus.org/u?6b44b7b8

Plugin Details

Severity: High

ID: 197297

File Name: spreadsheet_excel_rce_cve-2023-7101.nasl

Version: 1.3

Type: combined

Agent: windows, macosx, unix

Family: Misc.

Published: 5/17/2024

Updated: 10/23/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 6

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2023-7101

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7.2

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:jmcnamara:spreadsheet%3a%3aparseexcel

Required KB Items: installed_sw/John McNamara Spreadsheet-ParseExcel

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/29/2023

Vulnerability Publication Date: 12/24/2023

CISA Known Exploited Vulnerability Due Dates: 1/23/2024

Reference Information

CVE: CVE-2023-7101