Lucene search

K
openvasThis script is Copyright (C) 2011 Greenbone Networks GmbHOPENVAS:103320
HistoryNov 01, 2011 - 12:00 a.m.

Squid Proxy Caching Server CNAME Denial of Service Vulnerability

2011-11-0100:00:00
This script is Copyright (C) 2011 Greenbone Networks GmbH
plugins.openvas.org
35

0.935 High

EPSS

Percentile

98.9%

Squid proxy caching server is prone to a denial-of-service
vulnerability.

An attacker can exploit this issue to cause an affected application to
crash, denying service to legitimate users.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_squid_50449.nasl 3386 2016-05-25 19:06:55Z jan $
#
# Squid Proxy Caching Server CNAME Denial of Service Vulnerability
#
# Authors:
# Michael Meyer <[email protected]>
#
# Copyright:
# Copyright (c) 2011 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 proxy caching server is prone to a denial-of-service
vulnerability.

An attacker can exploit this issue to cause an affected application to
crash, denying service to legitimate users.";

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

if (description)
{
 script_id(103320);
 script_cve_id("CVE-2011-4096");
 script_bugtraq_id(50449);
 script_version ("$Revision: 3386 $");

 script_name("Squid Proxy Caching Server CNAME Denial of Service Vulnerability");

 script_xref(name : "URL" , value : "http://www.securityfocus.com/bid/50449");
 script_xref(name : "URL" , value : "http://bugs.squid-cache.org/show_bug.cgi?id=3237");
 script_xref(name : "URL" , value : "https://bugzilla.redhat.com/show_bug.cgi?id=750316");
 script_xref(name : "URL" , value : "http://permalink.gmane.org/gmane.comp.security.oss.general/6144");
 script_xref(name : "URL" , value : "http://www.squid-cache.org/");

 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:"qod_type", value:"remote_banner_unreliable");
 script_tag(name:"last_modification", value:"$Date: 2016-05-25 21:06:55 +0200 (Wed, 25 May 2016) $");
 script_tag(name:"creation_date", value:"2011-11-01 08:00:00 +0100 (Tue, 01 Nov 2011)");
 script_summary("Determine if installed Squid version is vulnerable");
 script_category(ACT_GATHER_INFO);
 script_family("Denial of Service");
 script_copyright("This script is Copyright (C) 2011 Greenbone Networks GmbH");
 script_dependencies("secpod_squid_detect.nasl");
 script_require_ports("Services/www","Services/http_proxy",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");
include("global_settings.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_is_equal(version:vers, test_version:"3.1.16")) {
    security_message(port:port);
    exit(0);
  }  

}