Lucene search

K
openvasCopyright (C) 2015 Greenbone AGOPENVAS:1361412562310806160
HistoryNov 11, 2015 - 12:00 a.m.

Microsoft InfoPath Privilege Elevation Vulnerability (3104540)

2015-11-1100:00:00
Copyright (C) 2015 Greenbone AG
plugins.openvas.org
20

CVSS2

9.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

AI Score

6.3

Confidence

Low

EPSS

0.007

Percentile

80.9%

This host is missing a critical security
update according to Microsoft Bulletin MS15-116.

# SPDX-FileCopyrightText: 2015 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.806160");
  script_version("2023-07-25T05:05:58+0000");
  script_cve_id("CVE-2015-2503");
  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:"2023-07-25 05:05:58 +0000 (Tue, 25 Jul 2023)");
  script_tag(name:"creation_date", value:"2015-11-11 13:08:19 +0530 (Wed, 11 Nov 2015)");
  script_tag(name:"qod_type", value:"executable_version");
  script_name("Microsoft InfoPath Privilege Elevation Vulnerability (3104540)");

  script_tag(name:"summary", value:"This host is missing a critical security
  update according to Microsoft Bulletin MS15-116.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"An elevation of privilege vulnerability
  exists in Microsoft Office software when an attacker instantiates an affected
  Office application via a COM control.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote
  attackers to gain elevated privileges and break out of the Internet Explorer
  sandbox.");

  script_tag(name:"affected", value:"- Microsoft InfoPath 2007 Service Pack 3

  - Microsoft InfoPath 2010 Service Pack 2

  - Microsoft InfoPath 2013 Service Pack 1");

  script_tag(name:"solution", value:"The vendor has released updates. Please see the references for more information.");

  script_tag(name:"solution_type", value:"VendorFix");

  script_xref(name:"URL", value:"https://support.microsoft.com/en-us/kb/2687406");
  script_xref(name:"URL", value:"https://support.microsoft.com/en-us/kb/2878230");
  script_xref(name:"URL", value:"https://support.microsoft.com/en-us/kb/3054793");
  script_xref(name:"URL", value:"https://technet.microsoft.com/en-us/library/security/MS15-116");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2015 Greenbone AG");
  script_family("Windows : Microsoft Bulletins");
  script_dependencies("smb_reg_service_pack.nasl");
  script_require_ports(139, 445);
  script_mandatory_keys("SMB/WindowsVersion");

  script_xref(name:"URL", value:"https://technet.microsoft.com/en-us/security/bulletin/ms15-116");
  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);
}

## InfoPath 2010
if(registry_key_exists(key:"SOFTWARE\Microsoft\Office\14.0\InfoPath\InstallRoot")){
  new_key = "SOFTWARE\Microsoft\Office\14.0\InfoPath\InstallRoot";
}
## InfoPath 2007
else if (registry_key_exists(key:"SOFTWARE\Microsoft\Office\12.0\InfoPath\InstallRoot")){
  new_key = "SOFTWARE\Microsoft\Office\12.0\InfoPath\InstallRoot";
}

## InfoPath 2015
else if (registry_key_exists(key:"SOFTWARE\Microsoft\Office\15.0\InfoPath\InstallRoot")){
  new_key = "SOFTWARE\Microsoft\Office\15.0\InfoPath\InstallRoot";
}

# None of these products installed
else {
  exit(0);
}

infoPath = registry_get_sz(key:new_key, item:"Path");
if(infoPath)
{
  exeVer = fetch_file_version(sysPath:infoPath, file_name:"Infopath.Exe");
  if(exeVer =~ "^(12|14|15)\..*")
  {
    if(exeVer =~ "^12"){
      Vulnerable_range  =  "12 - 12.0.6735.4999";
    }
    else if(exeVer =~ "^14"){
      Vulnerable_range  =  "14 - 14.0.7162.4999";
    }
    else if(exeVer =~ "^15"){
      Vulnerable_range  =  "15 - 15.0.4763.0999";
    }

    if(version_in_range(version:exeVer, test_version:"12.0", test_version2:"12.0.6735.4999") ||
       version_in_range(version:exeVer, test_version:"14.0", test_version2:"14.0.7162.4999") ||
       version_in_range(version:exeVer, test_version:"15.0", test_version2:"15.0.4763.0999"))
    {
      report = 'File checked:  infopath.exe' + '\n' +
               'File version:     ' + exeVer  + '\n' +
               'Vulnerable range: ' + Vulnerable_range + '\n' ;
      security_message(data:report);
      exit(0);
    }
  }
}

CVSS2

9.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

AI Score

6.3

Confidence

Low

EPSS

0.007

Percentile

80.9%