Advisory Details

September 14th, 2022

(0Day) NIKON NIS-Elements Viewer ND2 File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-22-1211
ZDI-CAN-15071

CVE ID CVE-2022-40655
CVSS SCORE 7.8, AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS NIKON
AFFECTED PRODUCTS NIS-Elements Viewer
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of NIKON NIS-Elements Viewer. 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 ND2 files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.

ADDITIONAL DETAILS

09/24/21 – ZDI reported the vulnerabilities to the vendor.

02/24/22 – ZDI requested an update.

03/02/22 – ZDI requested an update.

03/29/22 – The vendor asked for the reports to be sent again.

03/29/22 – ZDI resent the reports to the vendor.

08/24/22 – ZDI requested an update.

08/24/22 – The vendor advised that the reports did not meet the bar for servicing because it is a legacy product.

09/09/22 –  ZDI notified the vendor of the intention to publish the cases as 0-day advisories on 09/13/22.

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


DISCLOSURE TIMELINE
  • 2022-03-29 - Vulnerability reported to vendor
  • 2022-09-14 - Coordinated public release of advisory
CREDIT Tran Van Khang - khangkito (VinCSS)
BACK TO ADVISORIES