Body Background
TrendAI™ Zero Day Initiative™ Logo

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

September 14th, 2022

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

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.