Advisory Details

May 4th, 2018

Wecon PI Studio HMI Project Programmer TextContent Stack-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-18-409
ZDI-CAN-5506

CVE ID CVE-2018-7527
CVSS SCORE 4.6, AV:L/AC:L/Au:N/C:P/I:P/A:P
AFFECTED VENDORS Wecon
AFFECTED PRODUCTS PI Studio HMI Project Programmer
VULNERABILITY DETAILS


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Wecon PI Studio HMI Project Programmer. 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 in the handling of PI Studio Project files. When parsing the TextContent field, the process does not properly validate the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code under the context of the current process.

ADDITIONAL DETAILS Wecon has issued an update to correct this vulnerability. More details can be found at:
https://ics-cert.us-cert.gov/advisories/ICSA-18-116-02
DISCLOSURE TIMELINE
  • 2017-12-21 - Vulnerability reported to vendor
  • 2018-05-04 - Coordinated public release of advisory
  • 2018-05-04 - Advisory Updated
CREDIT Michael DePlante - Leahy Center for Digital Investigation at Champlain College
BACK TO ADVISORIES