CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:N/I:P/A:P
AI Score
Confidence
Low
EPSS
Percentile
51.5%
According to its version number, the remote version of Squid is prone to an
information-disclosure vulnerability related to the interpretation of the Host HTTP header. Specifically,
this issue occurs when the proxy makes a forwarding decision based on the Host HTTP header instead of the destination
IP address.
# SPDX-FileCopyrightText: 2009 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
CPE = "cpe:/a:squid-cache:squid";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.100147");
script_version("2023-07-27T05:05:08+0000");
script_tag(name:"last_modification", value:"2023-07-27 05:05:08 +0000 (Thu, 27 Jul 2023)");
script_tag(name:"creation_date", value:"2009-04-16 19:20:22 +0200 (Thu, 16 Apr 2009)");
script_tag(name:"cvss_base", value:"5.8");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:P");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/33858");
script_cve_id("CVE-2009-1211");
script_name("Squid 2.7 / 3.0 Information Disclosure Vulnerability");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 Greenbone AG");
script_family("Web Servers");
script_dependencies("gb_squid_http_detect.nasl");
script_mandatory_keys("squid/detected");
script_tag(name:"summary", value:"According to its version number, the remote version of Squid is prone to an
information-disclosure vulnerability related to the interpretation of the Host HTTP header. Specifically,
this issue occurs when the proxy makes a forwarding decision based on the Host HTTP header instead of the destination
IP address.");
script_tag(name:"impact", value:"Attackers may exploit this issue to obtain sensitive information such as
internal intranet webpages. Additional attacks may also be possible.");
script_tag(name:"affected", value:"These issues affect Squid 2.7 and 3.0.");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_tag(name:"solution_type", value:"WillNotFix");
script_tag(name:"solution", value:"No known solution was made available for at least one year since the disclosure
of this vulnerability. Likely none will be provided anymore. General solution options are to upgrade to a newer
release, disable respective features, remove the product or replace the product by another one.");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if( ! port = get_app_port( cpe:CPE ) )
exit( 0 );
if( ! vers = get_app_version( cpe:CPE, port:port ) )
exit( 0 );
if( egrep( pattern:"(2\.7|3\.0)", string:vers ) ) {
report = report_fixed_ver( installed_version:vers, fixed_version:"Unknown" );
security_message( port:port, data:report );
exit( 0 );
}
exit( 99 );