Lucene search

K
openvasCopyright (C) 2012 SecPodOPENVAS:902688
HistorySep 12, 2012 - 12:00 a.m.

Microsoft System Center Configuration Manager XSS Vulnerability (2741528)

2012-09-1200:00:00
Copyright (C) 2012 SecPod
plugins.openvas.org
15

0.944 High

EPSS

Percentile

99.2%

This host is missing an important security update according to
Microsoft Bulletin MS12-062.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_ms12-062.nasl 6520 2017-07-04 14:28:49Z cfischer $
#
# Microsoft System Center Configuration Manager XSS Vulnerability (2741528)
#
# Authors:
# Rachana Shetty <[email protected]>
#
# Copyright:
# Copyright (c) 2012 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 = "Successful exploitation will allow remote attackers to insert arbitrary HTML
  and script code, which will be executed in a user's browser session in the
  context of an affected site.
  Impact Level: Application";
tag_affected = "Microsoft Systems Management Server 2003 SP3 and prior
  Microsoft System Center Configuration Manager 2007 SP2 R2 or R3 and prior";
tag_insight = "Input validation error due the way System Center Configuration Manager
  handles specially crafted requests, which can be exploited to insert
  arbitrary HTML and script code.";
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/ms12-062";
tag_summary = "This host is missing an important security update according to
  Microsoft Bulletin MS12-062.";

if(description)
{
  script_id(902688);
  script_version("$Revision: 6520 $");
  script_cve_id("CVE-2012-2536");
  script_bugtraq_id(55430);
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_tag(name:"last_modification", value:"$Date: 2017-07-04 16:28:49 +0200 (Tue, 04 Jul 2017) $");
  script_tag(name:"creation_date", value:"2012-09-12 09:31:18 +0530 (Wed, 12 Sep 2012)");
  script_name("Microsoft System Center Configuration Manager XSS Vulnerability (2741528)");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2012 SecPod");
  script_family("Windows : Microsoft Bulletins");
  script_dependencies("gb_ms_system_center_configmgr_detect_win.nasl");
  script_mandatory_keys("MS/SMS_or_ConfigMgr/Installed");
  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");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/50497");
  script_xref(name : "URL" , value : "http://support.microsoft.com/kb/2741528");
  script_xref(name : "URL" , value : "http://technet.microsoft.com/en-us/security/bulletin/MS12-062");
  exit(0);
}


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

## Variables Initialization
path = "";
oglVer = "";
attVer = "";
commVer = "";

## Check for Microsoft Microsoft System Center Configuration Manager 2007
if(get_kb_item("MS/ConfigMgr/Version"))
{
  ## Get Installed Path
  path = get_kb_item("MS/ConfigMgr/Path");
  if(path && "Could not find the install Location" >!< path)
  {
    ## Get Version from Reportinginstall.exe
    path = path - "\AdminUI";
    path = path + "\bin\i386";
    confVer = fetch_file_version(sysPath:path, file_name:"Reportinginstall.exe");
    if(confVer)
    {
      if(version_in_range(version:confVer, test_version:"4.0", test_version2:"4.0.6487.2215"))
      {
        security_message(0);
        exit(0);
      }
    }
  }
}

## Check for Microsoft Systems Management Server 2003
if(get_kb_item("MS/SMS/Version"))
{
  ## Get Installed Path
  path = get_kb_item("MS/SMS/Path");
  if(path && "Could not find the install Location" >!< path)
  {
    ## Get Version from Reportinginstall.exe
    path = path + "\bin\i386";
    confVer = fetch_file_version(sysPath:path, file_name:"Reportinginstall.exe");
    if(confVer)
    {
      if(version_in_range(version:confVer, test_version:"2.0", test_version2:"2.50.4253.3128"))
      {
        security_message(0);
        exit(0);
      }
    }
  }
}