Lucene search

K
openvasCopyright (C) 2009 Greenbone Networks GmbHOPENVAS:801090
HistoryDec 17, 2009 - 12:00 a.m.

Microsoft Windows Indeo Codec Multiple Vulnerabilities

2009-12-1700:00:00
Copyright (C) 2009 Greenbone Networks GmbH
plugins.openvas.org
8

0.104 Low

EPSS

Percentile

94.4%

This host is installed with Microsoft Windows Indeo codec and prone to
multiple vulnerabilities.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ms_indeo_codec_mult_vuln.nasl 5363 2017-02-20 13:07:22Z cfi $
#
# Microsoft Windows Indeo Codec Multiple Vulnerabilities
#
# Authors:
# Antu Sanadi <[email protected]>
#
# Copyright:
# Copyright (c) 2009 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 = "For further updates refer,
  http://www.microsoft.com/technet/security/advisory/954157.mspx

  Workaround:
  Apply workaround,
  http://support.microsoft.com/kb/954157";

tag_impact = "Successful exploitation will let the remote attackers compromise a vulnerable
  system.
  Impact Level: System";
tag_affected = "Microsoft Windows 2K  Service Pack 4 and prior.
  Microsoft Windows XP  Service Pack 3 and prior.
  Microsoft Windows 2K3 Service Pack 2 and prior.";
tag_insight = "The multiple flaws are due to:
  - An error in the Indeo41 codec when processing a specific size within the
    'movi' record of a IV41 stream can be exploited to cause a heap-based buffer
    overflow.
  - An error in the Indeo41 codec when decompressing a video stream can be
    exploited to cause a stack-based buffer overflow.
  - An unspecified error in the Indeo codec can be exploited to corrupt memory.
  - An error in the Indeo32 codec when decoding a IV32 stream can be exploited
    to cause memory corruption.
  - Other vulnerabilities also exist and are caused due to unspecified errors
    in the Indeo codec and can be exploited to corrupt memory by tricking a user
    into viewing specially crafted media content.";
tag_summary = "This host is installed with Microsoft Windows Indeo codec and prone to
  multiple vulnerabilities.";

if(description)
{
  script_id(801090);
  script_version("$Revision: 5363 $");
  script_tag(name:"last_modification", value:"$Date: 2017-02-20 14:07:22 +0100 (Mon, 20 Feb 2017) $");
  script_tag(name:"creation_date", value:"2009-12-17 08:14:37 +0100 (Thu, 17 Dec 2009)");
  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-2009-4210", "CVE-2009-4309", "CVE-2009-4310",
                "CVE-2009-4311", "CVE-2009-4312", "CVE-2009-4313");
  script_bugtraq_id(37251);
  script_name("Microsoft Windows Indeo Codec Multiple Vulnerabilities");

  script_xref(name : "URL" , value : "http://secunia.com/advisories/37592");
  script_xref(name : "URL" , value : "http://support.microsoft.com/kb/976138");
  script_xref(name : "URL" , value : "http://support.microsoft.com/kb/955759");
  script_xref(name : "URL" , value : "http://www.microsoft.com/technet/security/advisory/954157.mspx");

  script_tag(name:"qod_type", value:"executable_version");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 Greenbone Networks GmbH");
  script_family("Windows");
  script_dependencies("secpod_reg_enum.nasl");
  script_require_ports(139, 445);
  script_mandatory_keys("SMB/WindowsVersion");

  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);
  exit(0);
}


include("smb_nt.inc");
include("secpod_reg.inc");
include("version_func.inc");
include("secpod_smb_func.inc");

function IndeoCodecVersion(filepath)
{
  share = ereg_replace(pattern:"([A-Z]):.*", replace:"\1$", string:filepath);
  file = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:filepath);
  fileVer = GetVer(file:file, share:share);
  return fileVer;
}

if(hotfix_check_sp(xp:4, win2003:3, win2k:5) <= 0){
  exit(0);
}

dllPath = registry_get_sz(key:"SOFTWARE\Microsoft\COM3\Setup", item:"Install Path");
if(!dllPath){
  exit(0);
}

if((hotfix_missing(name:"976138") == 1))
{
  # Windows 2K and DirectX is installed
  if(hotfix_check_sp(win2k:5) > 0)
  {
    directxVer = registry_get_sz(key:"SOFTWARE\Microsoft\DirectX", item:"Version");
    if(egrep(pattern:"^4\.0[7-9]\..*", string:directxVer))
    {
      quartzVer = IndeoCodecVersion(filepath:dllPath + "\Quartz.dll");
      if(quartzVer)
      {
        # Grep for Quartz.dll version <= 6.5.1.912
        if(version_is_less(version:quartzVer, test_version:"6.5.1.912")){
          security_message(0);
          exit(0);
        }
      }
    }
  }
}

if(registry_key_exists(key:"SOFTWARE\Classes\CLSID\{87CA6F02-49E4-11CF-A3FE" +
                            "-00AA003735BE}\InprocServer32") &&
   registry_key_exists(key:"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32"))
{
  axVer = IndeoCodecVersion(filepath:dllPath + "\ir41_32.ax");
  if(axVer)
  {
    # Grep for ir41_32.ax version <= 4.51.16.3
    if(version_is_less_equal(version:axVer, test_version:"4.51.16.3"))
    {
      security_message(0);
      exit(0);
    }
  }
}

if((hotfix_missing(name:"955759") == 1))
{
  aclayerPath = dllPath - "\system32" - "\System32" + "\AppPatch\Aclayers.dll";
  aclayerVer = IndeoCodecVersion(filepath:aclayerPath);
  if(aclayerVer)
  {
    # Windows 2K
    if(hotfix_check_sp(win2k:5) > 0)
    {
      # Grep for Aclayers.dll version <= 5.0.2195.7358
      if(version_is_less(version:aclayerVer, test_version:"5.0.2195.7358")){
        security_message(0);
      }
    }

    # Windows XP
    else if(hotfix_check_sp(xp:4) > 0)
    {
      SP = get_kb_item("SMB/WinXP/ServicePack");
      if("Service Pack 2" >< SP)
      {
        # Grep for Aclayers.dll <= 5.1.2600.3647
        if(version_is_less(version:aclayerVer, test_version:"5.1.2600.3647")){
          security_message(0);
        }
        exit(0);
      }
      else if("Service Pack 3" >< SP)
      {
        # Grep for Aclayers.dll <= 5.1.2600.5906
        if(version_is_less(version:aclayerVer, test_version:"5.1.2600.5906")){
          security_message(0);
        }
        exit(0);
      }
      security_message(0);
    }

    # Windows 2003
    else if(hotfix_check_sp(win2003:3) > 0)
    {
      SP = get_kb_item("SMB/Win2003/ServicePack");
      if("Service Pack 2" >< SP)
      {
        # Grep for Aclayers.dll <= 5.2.3790.4624
        if(version_is_less(version:aclayerVer, test_version:"5.2.3790.4624")){
          security_message(0);
        }
        exit(0);
      }
      security_message(0);
    }
  }
}

0.104 Low

EPSS

Percentile

94.4%