ProFTPD < 1.3.3d 'mod_sql' Buffer Overflow

medium Nessus Plugin ID 51366
New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it is different from CVSS.

VPR Score: 6.7


The remote FTP server is affected by a heap-based buffer overflow vulnerability.


The remote host is using ProFTPD, a free FTP server for Unix and Linux.

According to its banner, the version of ProFTPD installed on the remote host is earlier than 1.3.3d. Such versions are reportedly affected by a heap-based buffer overflow vulnerability in the function 'sql_prepare_where()' in the file 'contrib/mod_sql.c'. An unauthenticated, remote attacker may be able to exploit this in combination with an earlier SQL injection vulnerability (CVE-2009-0542) to execute arbitrary code with root privileges.

Note that Nessus did not actually test for the flaw but instead has relied on the version in ProFTPD's banner.


Upgrade to ProFTPD version 1.3.3d or later.

See Also

Plugin Details

Severity: Medium

ID: 51366

File Name: proftpd_1_3_3d.nasl

Version: 1.18

Type: remote

Family: FTP

Published: 12/23/2010

Updated: 3/27/2020

Dependencies: ftpserver_detect_type_nd_version.nasl

Configuration: Enable paranoid mode

Risk Information

Risk Factor: Medium

VPR Score: 6.7

CVSS Score Source: CVE-2010-4652

CVSS v2.0

Base Score: 6.8

Temporal Score: 5

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P

Temporal Vector: E:U/RL:OF/RC:C

Vulnerability Information

CPE: cpe:/a:proftpd:proftpd

Required KB Items: ftp/proftpd, Settings/ParanoidReport

Exploit Ease: No known exploits are available

Patch Publication Date: 12/17/2010

Vulnerability Publication Date: 11/18/2010

Reference Information

CVE: CVE-2010-4652

BID: 44933