Advisory Details

April 10th, 2014

WellinTech KingScada AEserver.exe Remote Code Execution Vulnerability

ZDI-14-071
ZDI-CAN-1780

CVE ID CVE-2014-0787
CVSS SCORE 10.0, AV:N/AC:L/Au:N/C:C/I:C/A:C
AFFECTED VENDORS WellinTech
AFFECTED PRODUCTS KingScada
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID ['13214']. For further product information on the TippingPoint IPS: http://www.tippingpoint.com
VULNERABILITY DETAILS


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of WellinTech KingScada. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the protocol parsing code contained in kxNetDispose.dll. The parent service is called AEserver.exe and listens on port 12401. The process performs arithmetic on an user-supplied value used to determine the size of a copy operation allowing a potential integer wrap to cause a stack buffer overflow. An unauthenticated attacker can leverage this vulnerability to execute code under the context of the SYSTEM user.

ADDITIONAL DETAILS WellinTech has issued an update to correct this vulnerability. More details can be found at:
https://ics-cert.us-cert.gov/advisories/ICSA-14-098-02
DISCLOSURE TIMELINE
  • 2014-02-25 - Vulnerability reported to vendor
  • 2014-04-10 - Coordinated public release of advisory
CREDIT Anonymous
BACK TO ADVISORIES