The remote ProFTPd server is running a 1.2.0preN version.
All the 1.2.0preN versions contain several security flaws that allow an attacker to execute arbitrary code on this host.
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(10464);
script_version("1.25");
script_cvs_date("Date: 2018/07/27 12:15:50");
script_cve_id("CVE-1999-0368");
script_bugtraq_id(2242);
script_name(english:"ProFTPD Multiple Remote Overflows (palmetto)");
script_summary(english:"Checks if the version of the remote proftpd");
script_set_attribute(attribute:"synopsis", value:
"Arbitrary code may be run on the remote server.");
script_set_attribute(attribute:"description", value:
"The remote ProFTPd server is running a 1.2.0preN version.
All the 1.2.0preN versions contain several security flaws that allow an
attacker to execute arbitrary code on this host.");
script_set_attribute(attribute:"solution", value:
"Upgrade to a fixed FTP server - http://www.proftpd.net");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"plugin_publication_date", value:"2000/07/15");
script_set_attribute(attribute:"patch_publication_date", value:"1999/01/27");
script_set_attribute(attribute:"vuln_publication_date", value:"1999/02/09");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:proftpd:proftpd");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"FTP");
script_copyright(english:"This script is Copyright (C) 2000-2018 Tenable Network Security, Inc.");
script_dependencie("ftpserver_detect_type_nd_version.nasl");
script_require_keys("ftp/proftpd");
script_require_ports("Services/ftp", 21);
exit(0);
}
#
# The script code starts here :
#
include("ftp_func.inc");
port = get_ftp_port(default: 21);
banner = get_ftp_banner(port:port);
if (! banner) exit(1);
if(egrep(pattern:"^220 ProFTPD 1\.2\.0pre.*", string:banner))security_hole(port);