Microsoft Silverlight Remote Code Execution Vulnerabilities (2861561)

2013-07-11T00:00:00
ID OPENVAS:902986
Type openvas
Reporter Copyright (C) 2013 SecPod
Modified 2017-12-20T00:00:00

Description

This host is missing a critical security update according to Microsoft Bulletin MS13-052.

                                        
                                            ###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_silverlight_ms13-052.nasl 8190 2017-12-20 09:44:30Z cfischer $
#
# Microsoft Silverlight Remote Code Execution Vulnerabilities (2861561)
#
# Authors:
# Antu Sanadi <santu@secpod.com>
#
# Copyright:
# Copyright (c) 2013 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.
###############################################################################

CPE = "cpe:/a:microsoft:silverlight";

tag_impact = "Successful exploitation could allow an attacker to execute arbitrary code,
  bypass security mechanism and take complete control of an affected system.
  Impact Level: System/Application";

tag_affected = "Microsoft Silverlight version 5";
tag_insight = "Multiple flaws due to,
  - Improper handling of TrueType font and multidimensional arrays of
    small structures
  - Improper Handling of null pointer";
tag_solution = "Run Windows Update and update the listed hotfixes or download and
  update mentioned hotfixes in the advisory from the below link,
  http://technet.microsoft.com/en-us/security/bulletin/ms13-052";
tag_summary = "This host is missing a critical security update according to
  Microsoft Bulletin MS13-052.";

if(description)
{
  script_id(902986);
  script_version("$Revision: 8190 $");
  script_cve_id("CVE-2013-3129", "CVE-2013-3131", "CVE-2013-3178");
  script_bugtraq_id(60978, 60932, 60938);
  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_tag(name:"last_modification", value:"$Date: 2017-12-20 10:44:30 +0100 (Wed, 20 Dec 2017) $");
  script_tag(name:"creation_date", value:"2013-07-11 11:27:38 +0530 (Thu, 11 Jul 2013)");
  script_name("Microsoft Silverlight Remote Code Execution Vulnerabilities (2861561)");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/54025");
  script_xref(name : "URL" , value : "http://support.microsoft.com/kb/2861561");
  script_xref(name : "URL" , value : "http://technet.microsoft.com/en-us/security/bulletin/ms13-052");
  script_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"registry");
  script_copyright("Copyright (C) 2013 SecPod");
  script_family("Windows : Microsoft Bulletins");
  script_dependencies("secpod_reg_enum.nasl", "gb_ms_silverlight_detect.nasl");
  script_mandatory_keys("Microsoft/Silverlight/Installed");
  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);
  exit(0);
}

include("host_details.inc");
include("version_func.inc");

infos = get_app_version_and_location( cpe:CPE, exit_no_version:TRUE );
vers = infos['version'];
path = infos['location'];

if( vers !~ "^5\." ) exit( 99 );

if( version_in_range( version:vers, test_version:"5.1", test_version2:"5.1.20512" ) ) {
  report = report_fixed_ver( installed_version:vers, vulnerable_range:"5.1 - 5.1.20512", install_path:path );
  security_message( port:0, data:report );
  exit( 0 );
}

exit( 99 );