Lucene search

K
openvasCopyright (c) 2012 Greenbone Networks GmbHOPENVAS:802681
HistoryDec 04, 2012 - 12:00 a.m.

Oracle Java SE Hash Collision DoS Vulnerability (Windows)

2012-12-0400:00:00
Copyright (c) 2012 Greenbone Networks GmbH
plugins.openvas.org
7

0.003 Low

EPSS

Percentile

67.9%

This host is installed with Oracle Java SE and is prone to denial of
service vulnerability.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_oracle_java_se_hash_collision_dos_vuln_win.nasl 7699 2017-11-08 12:10:34Z santu $
#
# Oracle Java SE Hash Collision DoS Vulnerability (Windows)
#
# Authors:
# Sharath S <[email protected]>
#
# Copyright:
# Copyright (c) 2012 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.
###############################################################################

tag_impact = "Successful exploitation allows remote attackers to cause a denial of service
  condition via crafted input to an application that maintains a hash table.
  Impact Level: Application";
tag_affected = "Oracle Java SE 7 to 7 Update 5";
tag_insight = "The flaw is due to computes hash values without restricting the ability to
  trigger hash collisions predictably.";
tag_solution = "Upgrade to Oracle Java SE version 7 Update 6
  For updates refer to http://www.oracle.com/technetwork/java/javase/downloads/index.html";
tag_summary = "This host is installed with Oracle Java SE and is prone to denial of
  service vulnerability.";

if(description)
{
  script_id(802681);
  script_version("$Revision: 7699 $");
  script_cve_id("CVE-2012-2739");
  script_bugtraq_id(51236);
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_tag(name:"last_modification", value:"$Date: 2017-11-08 13:10:34 +0100 (Wed, 08 Nov 2017) $");
  script_tag(name:"creation_date", value:"2012-12-04 15:27:32 +0530 (Tue, 04 Dec 2012)");
  script_name("Oracle Java SE Hash Collision DoS Vulnerability (Windows)");
  script_xref(name : "URL" , value : "http://www.kb.cert.org/vuls/id/903934");
  script_xref(name : "URL" , value : "http://www.openwall.com/lists/oss-security/2012/06/17/1");
  script_xref(name : "URL" , value : "http://www.nruns.com/_downloads/advisory28122011.pdf");
  script_xref(name : "URL" , value : "http://www.ocert.org/advisories/ocert-2011-003.html");
  script_xref(name : "URL" , value : "https://bugzilla.redhat.com/show_bug.cgi?id=750533");
  script_xref(name : "URL" , value : "http://armoredbarista.blogspot.de/2012/02/investigating-hashdos-issue.html");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (c) 2012 Greenbone Networks GmbH");
  script_family("Denial of Service");
  script_dependencies("gb_java_prdts_detect_win.nasl");
  script_require_keys("Sun/Java/JRE/Win/Ver");
  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");
  exit(0);
}

include("version_func.inc");

## Variable Initialization
jreVer = "";

## Get JRE Version from KB
jreVer = get_kb_item("Sun/Java/JRE/Win/Ver");

if(jreVer)
{
  ## Check for Oracle Java SE versions 1.7 to 1.7.0_5
  if(version_in_range(version:jreVer, test_version:"1.7", test_version2:"1.7.0.5")){
    security_message(0);
  }
}

0.003 Low

EPSS

Percentile

67.9%