ProFTPD Username Variable Substitution SQL Injection

High Log Correlation Engine Plugin ID 801027

Synopsis

The remote host is vulnerable to a SQL Injection attack.

Description

The remote host is using ProFTPD, a free FTP server for Unix and Linux. The version of ProFTPD running on the remote host allows the percent character, '%', within the username. This would allow attackers to inject special SQL characters such as a single quote. An attacker exploiting this flaw would be able to execute arbitrary SQL commands against the database server.

Solution

Upgrade to version 1.3.2rc3 or higher.

See Also

http://.securityfocus.com/archive/1/500823/30/0/threaded

bugs.proftpd.org/show_bug.cgi?id=3124

http://.proftpd.org/docs/RELEASE_NOTES-1.3.2rc3

http://.proftpd.org/docs/NEWS-1.3.2rc3

comments.gmane.org/gmane.comp.security.oss.general/1489

bugs.proftpd.org/show_bug.cgi?id=3180

Plugin Details

Severity: High

ID: 801027

File Name: 801027.prm

Family: FTP Servers

Nessus ID: 35690

Risk Information

Risk Factor: High

CVSSv2

Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

Exploitable With

CANVAS (D2ExploitPack)

Reference Information

CVE: CVE-2009-0542

BID: 33722