Unitronics VisiLogic OPLC IDE vlp File Parsing Stack Buffer Overflow Remote Code Execution Vulnerability
Vulnerability Details
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Unitronics VisiLogic OPLC IDE. 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 parsing of a vlp file, which uses the zip file format. The software fails to validate the length of the filename field within the file before copying it to a stack buffer. This vulnerability can be leveraged by an attacker to achieve code execution within the context of the process.
Additional Details
Unitronics has issued an update to correct this vulnerability. More details can be found at:
https://ics-cert.us-cert.gov/advisories/ICSA-16-175-02
Disclosure Timeline
- 2016-04-28 - Vulnerability reported to vendor
- 2016-06-24 - Coordinated public release of advisory
Credit
Steven Seeley of Source Incite