WellinTech KingView HistoryServer.exe Opcode 3 Parsing Remote Code Execution VulnerabilityZDI-11-351: December 22nd, 2011
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Wellintek KingView. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the protocol parsing code inside nettransdll.dll. The parent service is called HistoryServer.exe and listens on port 777. When a packet with op-code 3 is received, the service allocates memory from the heap based on the 10th and 11th bytes of the packet (element count). Packet data is then copied into the allocated buffer based on the first two bytes of the packet (packet size). These values can be manipulated to create a heap overflow and and attacker can exploit this to remotely execute arbitrary code in the context of the service (Local System).
Vendor ResponseWellinTech has issued an update to correct this vulnerability. More details can be found at:
2011-11-09 - Vulnerability reported to vendor
2011-12-22 - Coordinated public release of advisory
CreditThis vulnerability was discovered by: