Delta Electronics CNCSoft-B DPA File Parsing Stack-based Buffer Overflow Remote Code Execution Vulnerability

March 4th, 2024

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Delta Electronics CNCSoft-B. 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 processing of DPA files in the DOPSoft executable. 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

Delta Electronics has issued an update to correct this vulnerability. More details can be found at:
https://www.cisa.gov/news-events/ics-advisories/icsa-24-060-01

Disclosure Timeline

  • 2023-12-22 - Vulnerability reported to vendor
  • 2024-03-04 - Coordinated public release of advisory
  • 2024-07-01 - Advisory Updated

Credit

Natnael Samson (@NattiSamson)

Back to Advisories