Secunia Logo
Netsikker nu! 2008
 
UltraVNC vncviewer "ClientConnection::NegotiateProtocolVersion()" Buffer Overflow
Secunia Advisory: SA28747
Release Date: 2008-02-01
Last Update: 2008-03-17
Popularity: 7,301 views

Critical:
Moderately critical
Impact: System access
Where: From remote
Solution Status: Vendor Patch

Software:UltraVNC (formerly Ultr@VNC) 1.x

Binary Analysis: BA377 :: Available for 1 Credit

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-0610


Description:
A vulnerability has been discovered in UltraVNC, which can be exploited by malicious people to compromise a user's system.

The vulnerability is caused due the "ClientConnection::NegotiateProtocolVersion()" function in vncviewer/ClientConnection.cpp using user-supplied length values to copy data without proper bounds checking. This can be exploited to cause a stack-based buffer overflow by e.g. sending specially crafted data to a vncviewer in "LISTENING" mode or by tricking a user into connecting to a malicious VNC server.

Successful exploitation allows execution of arbitrary code.

This may also be exploited if a DSM plugin is used, but requires that the attacker owns the encryption key used by vncviewer.

The vulnerability is confirmed in version 1.0.2 and reported in release candidates of version 1.0.4 prior to January 25th, 2008. Reportedly, UltraVNC server is not affected.

Solution:
Apply updated version.
http://downloads.sourceforge.net/ultr...traVNC-Viewer-104-Security-Update.zip

Provided and/or discovered by:
Reported by the vendor.

Changelog:
2008-02-07: Added CVE reference.
2008-03-17: Added link to US-CERT.

Original Advisory:
http://forum.ultravnc.info/viewtopic.php?t=11850

Other References:
US-CERT VU#721460:
http://www.kb.cert.org/vuls/id/721460


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. CA ARCserve Backup Multiple Vulnerabilities // 27 views
2. CUPS Multiple Vulnerabilities // 25 views
3. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 25 views
4. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 22 views
5. FUJITSU Interstage Products Apache Tomcat Security Bypass // 21 views
6. Ubuntu update for ruby1.8 // 20 views
7. Red Hat update for cups // 20 views
8. DFF PHP Framework API "DFF_config[dir_include]" File Inclusion Vulnerabilities // 19 views
9. Fedora update for condor // 18 views
10. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 18 views