This host is installed with RealVNC product, which is prone to
denial of service vulnerability.
##############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_realvnc_dos_vuln_win_900019.nasl 5375 2017-02-20 16:39:23Z cfi $
# Description: RealVNC vncviewer.exe Remote DoS Vulnerability (Windows)
#
# Authors:
# Chandan S <[email protected]>
#
# Copyright:
# Copyright (C) 2008 SecPod, http://www.secpod.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
##############################################################################
tag_impact = "Remote attacker can cause application to crash,
denying the service, and also can execute arbitrary code.
Impact Level : Application.";
tag_solution = "Upgrade to RealVNC Version 4.5.3 or later
For updates refer to http://www.realvnc.com/";
tag_affected = "RealVNC 4.1.2 and prior on Windows (All).";
tag_insight = "The flaw is due to lack of adequate boundary check while
parsing user supplied data.";
tag_summary = "This host is installed with RealVNC product, which is prone to
denial of service vulnerability.";
if(description)
{
script_id(900019);
script_version("$Revision: 5375 $");
script_tag(name:"last_modification", value:"$Date: 2017-02-20 17:39:23 +0100 (Mon, 20 Feb 2017) $");
script_tag(name:"creation_date", value:"2008-08-22 10:29:01 +0200 (Fri, 22 Aug 2008)");
script_cve_id("CVE-2008-3493");
script_bugtraq_id(30499);
script_copyright("Copyright (C) 2008 SecPod");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
script_category(ACT_GATHER_INFO);
script_tag(name:"qod_type", value:"registry");
script_family("Denial of Service");
script_name("RealVNC vncviewer.exe Remote DoS Vulnerability (Windows)");
script_dependencies("secpod_reg_enum.nasl", "find_service.nasl");
script_mandatory_keys("SMB/WindowsVersion");
script_require_ports("Services/vnc", 139, 445);
script_xref(name : "URL" , value : "http://www.securityfocus.com/bid/30499/discuss");
script_tag(name : "summary" , value : tag_summary);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "solution" , value : tag_solution);
script_tag(name : "impact" , value : tag_impact);
exit(0);
}
include("smb_nt.inc");
vncPort = get_kb_item("Services/vnc");
if(!vncPort){
vncPort = 5900;
}
if(!get_kb_item("SMB/WindowsVersion")){
exit(0);
}
vncVer = registry_get_sz(key:"SOFTWARE\Microsoft\Windows\CurrentVersion" +
"\Uninstall\WinVNC_is1",
item:"DisplayVersion");
if(!vncVer){
vncVer = registry_get_sz(key:"SOFTWARE\Microsoft\Windows\CurrentVersion" +
"\Uninstall\RealVNC_is1",
item:"DisplayVersion");
}
if(!vncVer){
exit(0);
}
if(ereg(pattern:"^([0-3]\..*|4\.(0\..*|1\.[0-2]))$", string:vncVer)){
security_message(vncPort);
}