Advisory Details

November 18th, 2021

WECON PLC Editor WCP File Parsing Memory Corruption Remote Code Execution Vulnerability

ZDI-21-1322
ZDI-CAN-13917

CVE ID CVE-2021-42707
CVSS SCORE 7.8, AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS WECON
AFFECTED PRODUCTS PLC Editor
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of WECON PLC Editor. 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 WCP files. The issue results from the lack of proper validation of user-supplied data, which can result in a memory corruption condition. An attacker can leverage this vulnerability to execute code in the context of the current process.

ADDITIONAL DETAILS WECON has issued an update to correct this vulnerability. More details can be found at:
https://us-cert.cisa.gov/ics/advisories/icsa-21-315-01
DISCLOSURE TIMELINE
  • 2021-06-24 - Vulnerability reported to vendor
  • 2021-11-18 - Coordinated public release of advisory
CREDIT Natnael Samson (@NattiSamson)
BACK TO ADVISORIES