SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information

Report a Vulnerability

 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

Vulnerability Note VU#598581

AT&T WinVNC server contains buffer overflow in Log.cpp

Overview

A buffer overflow in the WinVNC server on Windows systems can allow an intruder to gain control of the VNC server and execute arbitrary code with the privileges of the user running the server.

I. Description

AT&T WinVNC is a free software package available from AT&T Labs Cambridge that allows users to interact with the desktop of a remote Windows host. By providing a specially crafted HTTP request to the VNC server, an attacker can overflow a buffer in Log.cpp, resulting in access to the VNC server and the ability to execute arbitrary code with the privileges of the user running the server. It is worth noting that the VNC server does not listen on 80/tcp by default. See the following url:

http://www.uk.research.att.com/vnc/faq.html#q52

II. Impact

Local and remote users can execute arbitrary code with the privileges of the user running the server.

III. Solution

Apply this patch while inside the vnc_winsrc/winvnc
directory:

--- Log.cpp Mon Jan 15 18:17:46 2001
+++ Log.cpp Mon Jan 15 18:18:31 2001
@@ -130,7 +130,7 @@

// - Write the log message
TCHAR line[LINE_BUFFER_SIZE];
- vsprintf(line, format, ap);
+ _vsnprintf(line, sizeof(line)-sizeof(TCHAR), format, ap);
ReallyPrintLine(line);
}

Systems Affected

VendorStatusDate NotifiedDate Updated
ATTVulnerable15-Jun-2001

References

http://www.securityfocus.com/bid/2306
http://www.uk.research.att.com/vnc/

Credit

Our thanks to CORE SDI for the information contained in their bulletin.

This document was written by Ian A. Finlay and is based on information obtained from a Core SDI Security Advisory.

Other Information

Date Public:2001-01-29
Date First Published:2001-06-28
Date Last Updated:2001-06-28
CERT Advisory: 
CVE-ID(s):CAN-2001-0168
NVD-ID(s):CAN-2001-0168
US-CERT Technical Alerts: 
Severity Metric:12.60
Document Revision:32

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Copyright 2001 Carnegie Mellon University
Disclaimers and copyright information
Get a PDF Reader