Lucene search

K
openvasThis script is Copyright (C) 2009 Greenbone Networks GmbHOPENVAS:100249
HistoryJul 27, 2009 - 12:00 a.m.

Squid Multiple Remote Denial of Service Vulnerabilities

2009-07-2700:00:00
This script is Copyright (C) 2009 Greenbone Networks GmbH
plugins.openvas.org
10

0.095 Low

EPSS

Percentile

94.8%

Squid is prone to multiple remote denial-of-service vulnerabilities.

Successfully exploiting these issues allow remote attackers to crash
the affected application, denying further service to legitimate users.

This issue affects Squid 3.0.STABLE16, 3.1.0.11 and prior versions.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: squid_35812.nasl 5220 2017-02-07 11:42:33Z teissa $
#
# Squid Multiple Remote Denial of Service Vulnerabilities
#
# Authors:
# Michael Meyer
#
# Copyright:
# Copyright (c) 2009 Greenbone Networks GmbH
#
# 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_summary = "Squid is prone to multiple remote denial-of-service vulnerabilities.

Successfully exploiting these issues allow remote attackers to crash
the affected application, denying further service to legitimate users.

This issue affects Squid 3.0.STABLE16, 3.1.0.11 and prior versions.";

tag_solution = "Updates are available. Please see the references for more information.";

if (description)
{
 script_id(100249);
 script_version("$Revision: 5220 $");
 script_tag(name:"last_modification", value:"$Date: 2017-02-07 12:42:33 +0100 (Tue, 07 Feb 2017) $");
 script_tag(name:"creation_date", value:"2009-07-27 22:49:07 +0200 (Mon, 27 Jul 2009)");
 script_cve_id("CVE-2009-2621");
 script_bugtraq_id(35812);
 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_name("Squid Multiple Remote Denial of Service Vulnerabilities");

 script_xref(name : "URL" , value : "http://www.securityfocus.com/bid/35812");
 script_xref(name : "URL" , value : "http://www.squid-cache.org/Advisories/SQUID-2009_2.txt");
 script_xref(name : "URL" , value : "http://www.squid-cache.org/");

 script_tag(name:"qod_type", value:"remote_banner");
 script_category(ACT_GATHER_INFO);
 script_family("Web application abuses");
 script_copyright("This script is Copyright (C) 2009 Greenbone Networks GmbH");
 script_dependencies("secpod_squid_detect.nasl");
 script_require_ports("Services/www", 3128, 8080);
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "summary" , value : tag_summary);
 exit(0);
}

include("http_func.inc");
include("version_func.inc");

port = get_kb_item("Services/http_proxy");

if(!port){
    exit(0);
}

if(!vers = get_kb_item(string("www/", port, "/Squid")))exit(0);

if(!isnull(vers)) {

  if(version_in_range(version:vers, test_version:"3.1.0", test_version2:"3.1.0.11") ||
     version_in_range(version:vers, test_version:"3.1", test_version2:"3.1.5")      ||
     version_in_range(version:vers, test_version:"3.0", test_version2:"3.0.STABLE16")) {

      security_message(port:port);
      exit(0);

  }

}

exit(0);