Bug 19106 - Security problem with Anonymous FTP
Summary: Security problem with Anonymous FTP
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: wu-ftpd
Version: 6.2
Hardware: i386
OS: Linux
high
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Dale Lovelace
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-10-14 13:27 UTC by Krisztian Danko
Modified: 2007-03-27 03:36 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-10-16 11:38:54 UTC
Embargoed:


Attachments (Terms of Use)
These are the entries from /etc/messages (3.86 KB, text/plain)
2000-10-14 13:29 UTC, Krisztian Danko
no flags Details

Description Krisztian Danko 2000-10-14 13:27:16 UTC
My server has recently been broken into using the anonymous FTP service.
I don't know how it was done but the following happened according to
/etc/messages:

The hacker logged in using anonymous FTP and put in something binary
as the password

The password for one of the users was changed then the hacker logged in
using that username and ran the "su" command to become root

syslogd was restarted

From this point on, logging was turned off on the server, and the
su command didn't work any more.

Two days later I set up the firewall rules to disable everything from
outside except DNS, POP3 and ICMP. I haven't seen any more attacks since.

I also noticed that the following programs were replaced:

/bin/ls
/bin/su
/sbin/syslogd

(And I am still looking for more)

If this is a new bug, could you please contact me at
kdanko and I will send you
the log entries. I also made a copy of the hacker's /bin/ls command.

Comment 1 Krisztian Danko 2000-10-14 13:29:53 UTC
Created attachment 4164 [details]
These are the entries from /etc/messages

Comment 2 Bernhard Rosenkraenzer 2000-10-15 12:54:08 UTC
Are you certain the cracker got in over anonymous ftp? I've just proofread the code, I can't find anything that could cause this (in wu-ftpd 2.6.1 from updates).

If you're running a version prior to 2.6.1, it's a known problem (the user logs in as anything, then issues a couple of broken commands).


Comment 3 Krisztian Danko 2000-10-16 11:38:52 UTC
I am running 2.6.0

Comment 4 Bernhard Rosenkraenzer 2000-10-16 11:42:09 UTC
Update to 2.6.1 please; 2.6.0 has at least 2 known security problems.


Note You need to log in before you can comment on or make changes to this bug.