Advisory Details

December 20th, 2023

(0Day) Hancom Office Cell XLS File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-23-1856
ZDI-CAN-20386

CVE ID CVE-2023-50234
CVSS SCORE 7.8, AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS Hancom
AFFECTED PRODUCTS Office
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hancom Office Cell. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of XLS files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.

ADDITIONAL DETAILS

05/26/23 – ZDI made multiple attempts to contact the vendor across sales and support channels, which yielded no response from the vendor.

-- Mitigation: Given the nature of the vulnerability, the only salient mitigation strategy is to restrict interaction with the application


DISCLOSURE TIMELINE
  • 2023-11-17 - Vulnerability reported to vendor
  • 2023-12-20 - Coordinated public release of advisory
CREDIT logos
BACK TO ADVISORIES