Advisory Details

January 2nd, 2019

Horner Automation Cscape CSP File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-18-1437
ZDI-CAN-6410

CVE ID CVE-2018-19005
CVSS SCORE 6.8, AV:N/AC:M/Au:N/C:P/I:P/A:P
AFFECTED VENDORS Horner Automation
AFFECTED PRODUCTS Cscape
VULNERABILITY DETAILS


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

ADDITIONAL DETAILS Horner Automation has issued an update to correct this vulnerability. More details can be found at:
https://ics-cert.us-cert.gov/advisories/ICSA-18-354-01
DISCLOSURE TIMELINE
  • 2018-07-17 - Vulnerability reported to vendor
  • 2019-01-02 - Coordinated public release of advisory
  • 2019-01-02 - Advisory Updated
CREDIT rgod and mdm of 9SG Security Team
BACK TO ADVISORIES