Patchfirst
CVE-2023-7101 KEVPublic exploit High · 7.8 EPSS 19.0%

Spreadsheet::ParseExcel Remote Code Execution Vulnerability

Spreadsheet::ParseExcel · Spreadsheet::ParseExcel

Summary

Spreadsheet::ParseExcel version 0.65, a Perl module for parsing Excel files, contains an arbitrary code execution flaw in which unvalidated input read from a file is passed into a string-type "eval", specifically through the evaluation of Number format strings in the Excel parsing logic. An attacker can get code to run by supplying a crafted Excel file that a user opens or processes with the module, which requires local access and user interaction.

Official description · NVD

Spreadsheet::ParseExcel version 0.65 is a Perl module used for parsing Excel files. Spreadsheet::ParseExcel is vulnerable to an arbitrary code execution (ACE) 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.

Breakdown
67.9 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. What they do

  2. What can follow

First seen exploited 1 day after disclosure. Public exploit code (Metasploit) was available the same day.

  1. DisclosedPublic exploit codeMetasploitday 0
  2. First seen exploitedVulnCheck KEV evidence+1 day
  3. Added to CISA KEVEU database agrees+9 days

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

2 , grouped by in kill-chain order 2

ExecutionTA0002

Command and Scripting Interpreter T1059 Medium
MITRE CTID mapping of the KEV entry · primary impact

This vulnerability is exploited by a remote attacker by 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. After successful exploitation, the attacker gains the ability to perform remote code execution. This vulnerability has been targeted by Chinese hackers who exploited the vulnerability in Spreadsheet::ParseExcel to compromise appliances. In collaboration with cybersecurity firm Mandiant, Barracuda assesses that the threat actor behind the attacks is UNC4841, who leveraged the flaw to deploy ‘SeaSpy’ and ‘Saltwater’ malware.

Command and ControlTA0011

Ingress Tool Transfer T1105 Medium
MITRE CTID mapping of the KEV entry · follow-on activity
Lower-confidence links (1)

These come from early or generic mappings, text matching, or contradict this CVE’s details (for example a public-facing technique on a bug that needs a user to open a file). Shown for completeness.

  • Exploit Public-Facing ApplicationT1190 needs user interaction; not a public-facing exploit

Detection

0 rules for this CVE · 182 general rules for its techniques

Rules for this CVE

0 that reference CVE-2023-7101 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

12 links, grouped by NVD tag (11 duplicates merged)
↑ ↓ chooseEnter openEsc close