Lucene search
K

Microsoft XML Core Service Information Disclosure Vulnerability

🗓️ 18 Feb 2009 00:00:00Reported by Copyright (C) 2009 SecPodType 
openvas
 openvas
🔗 plugins.openvas.org👁 48 Views

Microsoft XML Core Service Information Disclosure Vulnerability. Allows attackers to get sensitive information from cookies and corrupt session state. No available solution or patch for at least one year. Prone to information disclosure vulnerability

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2009-0419
4 Feb 200919:00
cve
Cvelist
CVE-2009-0419
4 Feb 200919:00
cvelist
NVD
CVE-2009-0419
4 Feb 200919:30
nvd
OpenVAS
Microsoft XML Core Service Information Disclosure Vulnerability
18 Feb 200900:00
openvas
Prion
Design/Logic Flaw
4 Feb 200919:30
prion
seebug.org
Microsoft XML Core Services XMLHttpRequest SetCookie2头信息泄露漏洞
19 Feb 200900:00
seebug
###############################################################################
# OpenVAS Vulnerability Test
# $Id: secpod_ms_xml_core_svc_info_disc_vuln.nasl 16112 2009-02-18 12:40:24Z feb$
#
# Microsoft XML Core Service Information Disclosure Vulnerability
#
# Update by Antu sanadi <[email protected]> on 2011-07-15
#   Updated null check
#
# Authors:
# Sharath S <[email protected]>
#
# Copyright:
# Copyright (c) 2009 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 attackers to get sensitive information
  from cookies and corrupt the session state.
  Impact Level: System/Application";
tag_affected = "Microsoft, XML Core Service version 3.0/4.0/5.0/6.0 on Windows (all)";
tag_insight = "Microsoft XML Core Service fails to properly restrict access from the web
  pages to Set-Cookie2 HTTP response headers via XMLHttpRequest calls, which
  are related to the HTTPOnly protection mechanism.";
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.
  For updates refer to http://www.microsoft.com";
tag_summary = "This host is installed with Microsoft XML Core Service and is prone
  to information disclosure vulnerability.";

if(description)
{
  script_id(900314);
  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-02-18 15:32:11 +0100 (Wed, 18 Feb 2009)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_cve_id("CVE-2009-0419");
  script_bugtraq_id(33803);
  script_name("Microsoft XML Core Service Information Disclosure Vulnerability");
  script_xref(name : "URL" , value : "http://www.mindedsecurity.com/MSA01240108.html");
  script_xref(name : "URL" , value : "https://bugzilla.mozilla.org/show_bug.cgi?id=380418");
  script_xref(name : "URL" , value : "http://msdn.microsoft.com/hi-in/xml/default(en-us).aspx");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 SecPod");
  script_family("Web application abuses");
  script_dependencies("secpod_reg_enum.nasl", "secpod_ms_office_detection_900025.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:"WillNotFix");
  exit(0);
}


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

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

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

share = ereg_replace(pattern:"([A-Z]):.*", replace:"\1$", string:sysPath);
file6 = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:sysPath + "\msxml6.dll");
file6r = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:sysPath + "\msxml6r.dll");
file4 = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:sysPath + "\msxml4.dll");
file4a = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:sysPath + "\msxml4a.dll");
file4r = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:sysPath + "\msxml4r.dll");
file3 = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1", string:sysPath + "\msxml3.dll");

# Microsoft Office 2003 & 2007
if((get_kb_item("MS/Office/Ver") =~ "11\..*|12\..*")||
   registry_key_exists(key:"SOFTWARE\Microsoft\Office"))
{
  dllPath = registry_get_sz(key:"SOFTWARE\Microsoft\Shared Tools",
                               item:"SharedFilesDir");
  if(dllPath)
  {
    share2 = ereg_replace(pattern:"([A-Z]):.*", replace:"\1$", string:dllPath);
    file5 = ereg_replace(pattern:"[A-Z]:(.*)", replace:"\1",
                         string:dllPath + "OFFICE11\msxml5.dll");
  }
}

# MSXML6.dll <= 6.20.1099.0
if(!isnull(file6) && !isnull(share))
{
  dll6Ver = GetVer(file:file6, share:share);
  if(dll6Ver != NULL)
  {
    if(version_is_less_equal(version:dll6Ver, test_version:"6.20.1099.0"))
    {
      security_message(0);
      exit(0);
    }
  }
}

# MSXML6r.dll <= 6.0.3883.0
if(!isnull(file6r) && !isnull(share))
{
  dll6rVer = GetVer(file:file6r, share:share);
  if(dll6rVer != NULL)
  {
    if(version_is_less_equal(version:dll6rVer, test_version:"6.0.3883.0"))
    {
      security_message(0);
      exit(0);
    }
  }
}

# MSXML5.dll <= 5.20.1087.0
if(!isnull(file5) && !isnull(share2))
{
  dll5Ver = GetVer(file:file5, share:share2);
  if(dll5Ver != NULL)
  {
    if(version_is_less_equal(version:dll5Ver, test_version:"5.20.1087.0"))
    {
      security_message(0);
      exit(0);
    }
  }
}

# MSXML4.dll <= 4.20.9870.0
if(!isnull(file4) && !isnull(share))
{
  dll4Ver = GetVer(file:file4, share:share);
  if(dll4Ver != NULL)
  {
    if(version_is_less_equal(version:dll4Ver, test_version:"4.20.9870.0"))
    {
      security_message(0);
      exit(0);
    }
  }
}

# MSXML4A.dll <= 4.10.9404.0
if(!isnull(file4a) && !isnull(share))
{
  dll4aVer = GetVer(file:file4a, share:share);
  if(dll4aVer != NULL)
  {
    if(version_is_less_equal(version:dll4aVer, test_version:"4.10.9404.0"))
    {
      security_message(0);
      exit(0);
    }
  }
}

# MSXML4R.dll <= 4.10.9404.0
if(!isnull(file4r) && !isnull(share))
{
  dll4rVer = GetVer(file:file4r, share:share);
  if(dll4rVer != NULL)
  {
    if(version_is_less_equal(version:dll4rVer, test_version:"4.10.9404.0"))
    {
      security_message(0);
      exit(0);
    }
  }
}

# MSXML3.dll <= 8.100.1048.0
if(!isnull(file3) && !isnull(share))
{
  dll3Ver = GetVer(file:file3, share:share);
  if(dll3Ver != NULL)
  {
    if(version_is_less_equal(version:dll3Ver, test_version:"8.100.1048.0")){
      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