ProFTPD Compromised Source Packages Trojaned Distribution

This script is Copyright (C) 2010-2011 Tenable Network Security, Inc.


Synopsis :

The FTP server contains a backdoor allowing execution of arbitrary
code.

Description :

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

The version of ProFTPD installed on the remote host has been compiled
with a backdoor in 'src/help.c', apparently related to a compromise of
the main distribution server for the ProFTPD project on the 28th of
November 2010 around 20:00 UTC and not addressed until the 2nd of
December 2010.

By sending a special HELP command, an unauthenticated, remote attacker
can gain a shell and execute arbitrary commands with system
privileges.

Note that the compromised distribution file also contained code that
ran as part of the initial configuration step and sent a special HTTP
request to a server in Saudi Arabia. If this install was built from
source, you should assume that the author of the backdoor is already
aware of it.

See also :

http://www.theregister.co.uk/2010/12/02/proftpd_backdoored/
http://xorl.wordpress.com/2010/12/02/news-proftpd-owned-and-backdoored/
http://www.nessus.org/u?74de525d

Solution :

Reinstall the host from known, good sources.

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 8.3
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: FTP

Nessus Plugin ID: 50989 ()

Bugtraq ID: 45150

CVE ID: