Out-of-bounds write in UltraVNC - CVE-2019-8265

 

Out-of-bounds write in UltraVNC - CVE-2019-8265

Published: November 25, 2019 / Updated: November 27, 2019


Vulnerability identifier: #VU22968
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-8265
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error connected with improper usage of SETPIXELS macro in VNC client code. A remote attacker that controls a malicious VNC server can trick a user to connect to it, trigger out-of-bounds write and execute arbitrary code on the target system.


Affected software

UltraVNC
SIMATIC WinCC Runtime Advanced
SIMATIC HMI KTP900F
SIMATIC HMI KTP900
SIMATIC HMI KTP700F
SIMATIC HMI KTP700
SIMATIC HMI KTP400F
SIMATIC HMI Comfort Panels 4”-22”
SIMATIC HMI Comfort Outdoor Panels 7” & 15”

How to mitigate CVE-2019-8265

Install updates from vendor's website.

UltraVNC - update to 1.2.2.3
SIMATIC WinCC Runtime Advanced - update to 16 Update 4
SIMATIC HMI KTP900F - update to 16 Update 4
SIMATIC HMI KTP900 - update to 16 Update 4
SIMATIC HMI KTP700F - update to 16 Update 4
SIMATIC HMI KTP700 - update to 16 Update 4
SIMATIC HMI KTP400F - update to 16 Update 4
SIMATIC HMI Comfort Panels 4”-22” - update to 16 Update 4
SIMATIC HMI Comfort Outdoor Panels 7” & 15” - update to 16 Update 4

External References

Related Security Bulletins