Exploited vulnerabilities · Spreadsheet::ParseExcel
CVE-2023-7101
Spreadsheet::ParseExcel Remote Code Execution Vulnerability
Spreadsheet::ParseExcel contains 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 within the Excel parsing logic.
Description in the 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.
Required action according to CISA
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
What to do now
- Check your exposureFind out whether Spreadsheet::ParseExcel Spreadsheet::ParseExcel runs anywhere in your environment, including systems of suppliers.
- Patch or mitigateApply the vendor update. If that is not possible at once, use the vendor's mitigation or take the system off the network.
- Look for signs of an attackThis vulnerability is exploited in real attacks. Review the logs of affected systems for the time before the patch.
References
- github.com/jmcnamara/spreadsheet-parseexcel/blob/c7298592e102a375d43150cd002feed806557c15/
- github.com/mandiant/Vulnerability-Disclosures/blob/master/2023/MNDT-2023-0019.md
- https://github.com/haile01/perl_spreadsheet_excel_rce_poc
- https://github.com/jmcnamara/spreadsheet-parseexcel/commit/bd3159277e745468e2c553417b35d5d
- https://metacpan.org/dist/Spreadsheet-ParseExcel
- https://www.cve.org/CVERecord?id=CVE-2023-7101
- lists.debian.org/debian-lts-announce/2023/12/msg00025.html
- lists.fedoraproject.org/archives/list/[email protected]/message/IFE
- nvd.nist.gov/vuln/detail/CVE-2023-7101
Data: CISA Known Exploited Vulnerabilities Catalog and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.