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

Family: FTP Servers

Nessus ID: 35690

Exploitable With

CANVAS (D2ExploitPack)

Reference Information

CVE: CVE-2009-0542

BID: 33722