Advisory Details

May 4th, 2018

Wecon LeviStudioU DataLogTool INI Parser Stack-based Buffer Overflow Code Execution Vulnerability

ZDI-18-406
ZDI-CAN-5480

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 LeviStudioU
VULNERABILITY DETAILS


This vulnerability allows attackers to execute arbitrary code on vulnerable installations of Wecon LeviStudioU. 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 DataLogTool.exe. When parsing a string within an INI file, 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 Sergey Zelenyuk of RVRT
BACK TO ADVISORIES