Lucene search
K

VeryDOC PDF Viewer ActiveX Control Buffer Overflow Vulnerability

🗓️ 16 Dec 2008 00:00:00Reported by Copyright (C) 2008 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 36 Views

VeryDOC PDF Viewer ActiveX Buffer Overflow Vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2008-5492
12 Dec 200816:00
cve
Cvelist
CVE-2008-5492
12 Dec 200816:00
cvelist
Exploit DB
VeryPDF PDFView - OCX ActiveX OpenPDF Heap Overflow (Metasploit)
20 Sep 201000:00
exploitdb
Metasploit
VeryPDF PDFView OCX ActiveX OpenPDF Heap Overflow
4 Jan 200921:51
metasploit
NVD
CVE-2008-5492
12 Dec 200816:30
nvd
OpenVAS
VeryDOC PDF Viewer ActiveX Control Buffer Overflow Vulnerability
16 Dec 200800:00
openvas
OpenVAS
Detection of Dangerous ActiveX Control
4 Feb 200900:00
openvas
OpenVAS
Detection of Dangerous ActiveX Control
4 Feb 200900:00
openvas
Prion
Heap overflow
12 Dec 200816:30
prion
###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_verydoc_pdf_viewer_activex_bof.nasl 5370 2017-02-20 15:24:26Z cfi $
#
# VeryDOC PDF Viewer ActiveX Control Buffer Overflow Vulnerability
#
# Authors:
# Sujit Ghosal <[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_solution = "No solution or patch was made available for at least one year
  since disclosure of this vulnerability. Likely none will be provided
  anymore. General solution options are to upgrade to a newer release,
  disable respective features, remove the product or replace the product by
  another one.

  A workaround is to set the killbit for the CLSID {433268D7-2CD4-43E6-AA24-2188672E7252}
  http://support.microsoft.com/kb/240797
  For updates refer to http://verydoc.com/pdf-viewer-ocx.html";

tag_impact = "Successful exploitation will let the attacker execute arbitrary codes in the
  context of the application to cause heap based buffer overflow and can
  compromise a vulnerable system.";
tag_affected = "VeryDOC, PDF Viewer Pdfview.ocx version 2.0.0.1 and prior on Windows.";
tag_insight = "This flaw is due to boundary error in the OpenPDF function method from the
  PDFVIEW.PdfviewCtrl.1 ActiveX control (pdfview.ocx) which fails to properly
  validate the input data passed as large string.";
tag_summary = "This host is installed with VeryDOC PDF Viewer and is prone to
  Buffer Overflow vulnerability.";

if(description)
{
  script_id(800207);
  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-12-16 16:12:00 +0100 (Tue, 16 Dec 2008)");
  script_tag(name:"cvss_base", value:"9.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_cve_id("CVE-2008-5492");
  script_bugtraq_id(32313);
  script_name("VeryDOC PDF Viewer ActiveX Control Buffer Overflow Vulnerability");

  script_xref(name : "URL" , value : "http://secunia.com/Advisories/32725");
  script_xref(name : "URL" , value : "http://www.milw0rm.com/exploits/7126");
  script_xref(name : "URL" , value : "http://www.bmgsec.com.au/advisories/openpdf.txt");
  script_xref(name : "URL" , value : "http://news.debuntu.org/content/9123-cve-2008-5492-verydoc_pdf_viewer");

  script_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"registry");
  script_copyright("Copyright (C) 2008 Greenbone Networks GmbH");
  script_family("Buffer overflow");
  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 : "summary" , value : tag_summary);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name:"solution_type", value:"WillNotFix");
  exit(0);
}


include("smb_nt.inc");

if(!get_kb_item("SMB/WindowsVersion")){
  exit(0);
}

# PDF Viewer ClSID Key
regKey = registry_key_exists(key:"SOFTWARE\Classes\CLSID\" +
                       "{433268D7-2CD4-43E6-AA24-2188672E7252}");
if(!regKey){
  exit(0);
}

# Workaround Check
clsid = "{433268D7-2CD4-43E6-AA24-2188672E7252}";
activeKey = "SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\" + clsid;
killBit = registry_get_dword(key:activeKey, item:"Compatibility Flags");

if(killBit && (int(killBit) == 1024)){
  exit(0);
}
else{
  security_message(0);
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

20 Feb 2017 00:00Current
1.2Low risk
Vulners AI Score1.2
EPSS0.70177
36