ProFTPD 1.3.1 - 1.3.2rc2 SQLi Vulnerability
🗓️ 20 Feb 2009 00:00:00Reported by Copyright (C) 2009 Greenbone AGType
openvas🔗 plugins.openvas.org👁 43 Views
| Source | Link |
|---|---|
| milw0rm | www.milw0rm.com/exploits/8037 |
| securityfocus | www.securityfocus.com/bid/33722 |
| securityfocus | www.securityfocus.com/archive/1/archive/1/500851/100/0/threaded |
| securityfocus | www.securityfocus.com/archive/1/archive/1/500833/100/0/threaded |
# SPDX-FileCopyrightText: 2009 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
CPE = "cpe:/a:proftpd:proftpd";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.900507");
script_version("2025-09-24T05:39:03+0000");
script_tag(name:"last_modification", value:"2025-09-24 05:39:03 +0000 (Wed, 24 Sep 2025)");
script_tag(name:"creation_date", value:"2009-02-20 17:40:17 +0100 (Fri, 20 Feb 2009)");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_cve_id("CVE-2009-0542", "CVE-2009-0543");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_tag(name:"solution_type", value:"VendorFix");
script_name("ProFTPD 1.3.1 - 1.3.2rc2 SQLi Vulnerability");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 Greenbone AG");
script_family("FTP");
script_dependencies("gb_proftpd_consolidation.nasl");
script_mandatory_keys("proftpd/detected");
script_tag(name:"summary", value:"ProFTPD is prone to remote SQL injection (SQLi)
vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"This flaw occurs because the server performs improper input
sanitising,
- when a %(percent) character is passed in the username, a single quote (') gets introduced
during variable substitution by mod_sql and this eventually allows for an SQL injection during
login.
- when NLS support is enabled, a flaw in variable substitution feature in mod_sql_mysql and
mod_sql_postgres may allow an attacker to bypass SQL injection protection mechanisms via invalid,
encoded multibyte characters.");
script_tag(name:"affected", value:"ProFTPD version 1.3.1 through 1.3.2rc2.");
script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to execute
arbitrary SQL commands, thus gaining access to random user accounts.");
script_tag(name:"solution", value:"Update to version 1.3.2rc3 or later.");
script_xref(name:"URL", value:"http://www.milw0rm.com/exploits/8037");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/33722");
script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/archive/1/500833/100/0/threaded");
script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/archive/1/500851/100/0/threaded");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if (!version = get_app_version(cpe: CPE, nofork: TRUE))
exit(0);
if (version_in_range(version: version, test_version: "1.3.1", test_version2: "1.3.2rc2")) {
report = report_fixed_ver(installed_version: version, fixed_version: "1.3.2rc3");
security_message(port: 0, data: report);
exit(0);
}
exit(99);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
24 Sep 2025 00:00Current
8High risk
Vulners AI Score8