Lucene search

K
openvasCopyright (C) 2013 Greenbone Networks GmbHOPENVAS:803972
HistoryDec 03, 2013 - 12:00 a.m.

Microsoft Enhanced Mitigation Experience Toolkit (EMET) ROP Vulnerability

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

0.005 Low

EPSS

Percentile

76.1%

The host is installed with Microsoft Enhanced Mitigation Experience Toolkit
(EMET) and is prone to return-oriented programming (ROP) vulnerability.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_microsoft_emet_rop_vuln.nasl 6104 2017-05-11 09:03:48Z teissa $
#
# Microsoft Enhanced Mitigation Experience Toolkit (EMET) ROP Vulnerability
#
# Authors:
# Shashi Kiran N <[email protected]>
#
# Copyright:
# Copyright (C) 2013 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.
###############################################################################

if(description)
{
  script_id(803972);
  script_version("$Revision: 6104 $");
  script_cve_id("CVE-2013-6791");
  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-05-11 11:03:48 +0200 (Thu, 11 May 2017) $");
  script_tag(name:"creation_date", value:"2013-12-03 13:41:01 +0530 (Tue, 03 Dec 2013)");
  script_name("Microsoft Enhanced Mitigation Experience Toolkit (EMET) ROP Vulnerability");

  tag_summary =
"The host is installed with Microsoft Enhanced Mitigation Experience Toolkit
(EMET) and is prone to return-oriented programming (ROP) vulnerability.";

  tag_vuldetect =
"Get the installed version through the windows registry and check the version
is vulnerable or not.";

  tag_insight =
"The flaw is in the application which uses predictable addresses for hooked
functions.";

  tag_impact =
"Successful exploitation will allow remote attackers to bypass ASLR protection
mechanism via a return-oriented programming (ROP) attack.

Impact Level: System";

  tag_affected =
"Microsoft Enhanced Mitigation Experience Toolkit (EMET) before 4.0";

  tag_solution =
"Upgrade to Microsoft Enhanced Mitigation Experience Toolkit (EMET) version
4.0 or later, For updates refer to http://support.microsoft.com/kb/2458544";


  script_tag(name : "summary" , value : tag_summary);
  script_tag(name : "vuldetect" , value : tag_vuldetect);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "impact" , value : tag_impact);

  script_xref(name : "URL" , value : "http://en.nsfocus.com/2013/advisories_0620/150.html");
  script_xref(name : "URL" , value : "http://blogs.technet.com/b/srd/archive/2013/06/17/emet-4-0-now-available-for-download.aspx");
  script_category(ACT_GATHER_INFO);
  script_tag(name:"qod_type", value:"registry");
  script_copyright("Copyright (C) 2013 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("gb_smb_windows_detect.nasl");
  script_mandatory_keys("SMB/WindowsVersion");
  script_require_ports(139, 445);
  exit(0);
}


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

## Variable Initialization
key = "";
unkey = "";
emetVer = "";
emetName = "";

key = "SOFTWARE\Microsoft\EMET";

if(!registry_key_exists(key:key)){
  exit(0);
}

unkey = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\";

if(registry_key_exists(key:unkey))
{
  foreach item (registry_enum_keys(key:unkey))
  {
    emetName = registry_get_sz(key:unkey + item, item:"DisplayName");

    if(emetName && emetName =~ "EMET")
    {
      emetVer = registry_get_sz(key:unkey + item, item:"DisplayVersion");

      if(emetVer && version_is_less(version:emetVer, test_version:"4.0"))
      {
        security_message(0);
        exit(0);
      }
    }
  }
}

0.005 Low

EPSS

Percentile

76.1%

Related for OPENVAS:803972