CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
SINGLE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:L/Au:S/C:C/I:C/A:C
AI Score
Confidence
Low
EPSS
Percentile
89.0%
ProFTPD is prone to a remote code execution (RCE)
vulnerability.
# Copyright (C) 2011 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
CPE = "cpe:/a:proftpd:proftpd";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.103331");
script_version("2022-07-22T10:11:18+0000");
script_tag(name:"last_modification", value:"2022-07-22 10:11:18 +0000 (Fri, 22 Jul 2022)");
script_tag(name:"creation_date", value:"2011-11-15 10:15:56 +0100 (Tue, 15 Nov 2011)");
script_tag(name:"cvss_base", value:"9.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:C/I:C/A:C");
script_cve_id("CVE-2011-4130");
script_name("ProFTPD < 1.3.3g Use-After-Free RCE Vulnerability");
script_category(ACT_GATHER_INFO);
script_family("FTP");
script_copyright("Copyright (C) 2011 Greenbone Networks GmbH");
script_dependencies("secpod_proftpd_server_detect.nasl");
script_mandatory_keys("ProFTPD/Installed");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/50631");
script_xref(name:"URL", value:"http://bugs.proftpd.org/show_bug.cgi?id=3711");
script_xref(name:"URL", value:"http://www.zerodayinitiative.com/advisories/ZDI-11-328/");
script_tag(name:"summary", value:"ProFTPD is prone to a remote code execution (RCE)
vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"impact", value:"Successful exploits will allow attackers to execute arbitrary
code within the context of the application. Failed exploit attempts will result in a
denial-of-service condition.");
script_tag(name:"affected", value:"ProFTPD versions prior to 1.3.3g.");
script_tag(name:"solution", value:"Updates are available. Please see the references for more
information.");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
exit(0);
}
include("version_func.inc");
include("host_details.inc");
if( isnull( port = get_app_port( cpe:CPE ) ) )
exit( 0 );
if( ! vers = get_app_version( cpe:CPE, port:port ) )
exit( 0 );
if( version_is_less( version:vers, test_version:"1.3.3g" ) ) {
report = report_fixed_ver( installed_version:vers, fixed_version:"1.3.3g" );
security_message( port:port, data:report );
exit( 0 );
}
exit( 99 );