CVE-2014-6052
Libvncserver vulnerability
The HandleRFBServerMessage function in libvncclient/rfbproto.c in LibVNCServer 0.9.9 and earlier does not check certain malloc return values, which allows remote VNC servers to cause a denial of service (application crash) or possibly execute arbitrary code by specifying a large screen size in a (1) FramebufferUpdate, (2) ResizeFrameBuffer, or (3) PalmVNCReSizeFrameBuffer message.
Affected products
Libvncserver, Solaris, Debian Linux, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libvncserver runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/newsoft/libvncserver/commit/85a778c0e45e87e35ee7199f1f25020648e8b812 · Exploit
- seclists.org/oss-sec/2014/q3/639 · Third Party Advisory
- secunia.com/advisories/61506 · Third Party Advisory
- secunia.com/advisories/61682 · Third Party Advisory
- ubuntu.com/usn/usn-2365-1 · Third Party Advisory
- www.debian.org/security/2014/dsa-3081 · Third Party Advisory
- www.ocert.org/advisories/ocert-2014-007.html · Third Party Advisory
- www.openwall.com/lists/oss-security/2014/09/25/11 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2014-6052
- cve.org/CVERecord?id=CVE-2014-6052
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.