This host has Adobe Reader/Acrobat installed, which is/are prone
to Remote Code Execution Vulnerabilities.
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_adobe_prdts_code_exec_vuln_win.nasl 5370 2017-02-20 15:24:26Z cfi $
#
# Adobe Reader/Acrobat JavaScript Method Handling Vulnerability (Windows)
#
# Authors:
# Veerendra GG <[email protected]>
#
# Copyright:
# Copyright (c) 2008 Greenbone Networks GmbH, http://www.greenbone.net
#
# 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 = "Successful exploitation allows remote attackers to execute arbitrary code
or an attacker could take complete control of an affected system or cause
a denial of service condition.
Impact Level: System";
tag_summary = "This host has Adobe Reader/Acrobat installed, which is/are prone
to Remote Code Execution Vulnerabilities.";
tag_affected = "Adobe Reader version 7.0.9 and prior - Windows(All)
Adobe Reader versions 8.0 through 8.1.2 - Windows(All)
Adobe Acrobat Professional version 7.0.9 and prior - Windows(All)
Adobe Acrobat Professional versions 8.0 through 8.1.2 - Windows(All)";
tag_insight = "The flaw is due to an input validation error in a JavaScript method,
which could allow attackers to execute arbitrary code by tricking a user
into opening a specially crafted PDF document.";
tag_solution = "Apply Security Update mentioned in the advisory from the below link,
http://www.adobe.com/support/security/bulletins/apsb08-15.html";
if(description)
{
script_id(800106);
script_version("$Revision: 5370 $");
script_tag(name:"last_modification", value:"$Date: 2017-02-20 16:24:26 +0100 (Mon, 20 Feb 2017) $");
script_tag(name:"creation_date", value:"2008-10-01 17:01:16 +0200 (Wed, 01 Oct 2008)");
script_tag(name:"cvss_base", value:"10.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_cve_id("CVE-2008-2641");
script_bugtraq_id(29908);
script_xref(name:"CB-A", value:"08-0105");
script_name("Adobe Reader/Acrobat JavaScript Method Handling Vulnerability (Windows)");
script_xref(name : "URL" , value : "http://secunia.com/advisories/30832");
script_xref(name : "URL" , value : "http://www.frsirt.com/english/advisories/2008/1906/products");
script_xref(name : "URL" , value : "http://www.adobe.com/support/security/bulletins/apsb08-15.html");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2008 Greenbone Networks GmbH");
script_family("Denial of Service");
script_dependencies("secpod_reg_enum.nasl");
script_mandatory_keys("SMB/WindowsVersion");
script_require_ports(139, 445);
script_tag(name : "impact" , value : tag_impact);
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "insight" , value : tag_insight);
script_tag(name : "solution" , value : tag_solution);
script_tag(name : "summary" , value : tag_summary);
script_tag(name:"qod_type", value:"registry");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("smb_nt.inc");
include("secpod_smb_func.inc");
if(!get_kb_item("SMB/WindowsVersion")){
exit(0);
}
if(!registry_key_exists(key:"SOFTWARE\Adobe")){
exit(0);
}
key = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";
if(!registry_key_exists(key:key)){
exit(0);
}
keys = registry_enum_keys(key:key);
foreach item (keys)
{
adobeName = registry_get_sz(item:"DisplayName", key:key +item);
if("Adobe Reader" >< adobeName || "Adobe Acrobat" >< adobeName)
{
adobeVer = registry_get_sz(item:"DisplayVersion", key:key + item);
if(!adobeVer){
exit(0);
}
if(adobeVer == "8.1.2" && adobeName =~ "Security Update ?[0-9]+"){
exit(0);
}
if(adobeVer =~ "^(7\.0(\.[0-9])?|8\.0(\..*)?|8\.1(\.[0-2])?)$"){
security_message(0);
}
exit(0);
}
}