Advisory Details

July 13th, 2018

(0Day) Advantech WebAccess HMI Designer PM3 File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-18-631
ZDI-CAN-5587

CVE ID
CVSS SCORE 6.8, AV:N/AC:M/Au:N/C:P/I:P/A:P
AFFECTED VENDORS Advantech
AFFECTED PRODUCTS WebAccess HMI Designer
VULNERABILITY DETAILS


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Advantech WebAccess HMI Designer. 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 project 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 under the context of the current process.

ADDITIONAL DETAILS


This vulnerability is being disclosed publicly without a patch in accordance with the ZDI 120 day deadline.

01/19/18 - ZDI disclosed to ICS-CERT
06/05/18 - ZDI wrote to ICS-CERT requesting an update
06/05/18 - ICS-CERT replied that the vendor has not replied to requests for a date of the fix
06/18/18 - ICS-CERT notified ZDI of a similar (but seemingly not matched) advisory
06/18/18 - ZDI pointed out that the vendor is still offering only the version ZDI reported vulnerable online, not a new version
06/19/18 - ICS-CERT agreed to try to contact the vendor again
07/06/18 - ZDI notified the vendor of the intent to release the report as 0-day 07/13/2018

-- Mitigation:
Given the nature of the vulnerability the only salient mitigation strategy is to restrict interaction with the application to trusted files.


DISCLOSURE TIMELINE
  • 2018-01-19 - Vulnerability reported to vendor
  • 2018-07-13 - Coordinated public release of advisory
  • 2018-07-13 - Advisory Updated
CREDIT Ariele Caltabiano (kimiya)
BACK TO ADVISORIES