🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.security.unix
Article #19

Re: Security hole with WU-FTPD

#19
From: M. Buchenrieder
Date: Sun, 17 Jan 1999 00:00
35 lines
2465 bytes
[Newsgroups: slightly trimmed]

Barry Margolin <barmar@bbnplanet.com> writes:

>In article <F5n9LH.AnB@scrum.muc.de>,
>M. Buchenrieder <mibu@scrum.muc.de> wrote:
>>No. The entry in the /etc/passwd file had been added _before_ the attack
>>could take place. So either the security had been compromised before, then 
>>the FTP attack would have been useless (since the intruder obviously had
>>root access alreeady), or the entry has been made by the sysadmin just
>>to _allow_ FTP access with root permissions.

>If you read the post, you would know that the second was not what
>happened.  Later in his post he said that they're still trying to figure
>out how the passwd entry got put in, and he asked for advice about that.

OK. I missed that one, then.

>The fact that there are other ways to break into the system does not excuse
>FTPD from being usable to implement a back-door.  

I'd not call this a backdoor. 
If you have a system with shadow passwords installed
and manually edit the /etc/passwd file to have an entry with an empty
password string and no corresponding entry in /etc/shadow, then you'll
always be able to login without password. Try it. Add a user manually
and login. I just tested it on a SuSE 5.3 system, using login.c v. 1.4 .
Using an FTP account to actually access the system is just a way to hide
the intruder(s) from the eyes of the sysadmin. But the damage is already
done.

Michael
-- 
Michael Buchenrieder * mibu@scrum.greenie.muc.de * http://www.muc.de/~mibu
          Lumber Cartel Unit #456 (TINLC) & Official Netscum
Technical Details
Message-ID: <F5p6AI.569@scrum.muc.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <369FBEFB.EB1531B6@gds.ca> <0yRn2.85285$c8.41002764@hme2.newscontent-01.sprint.ca> <8YRn2.250$oD6.15990@burlma1-snr1.gtei.net> <F5n9LH.AnB@scrum.muc.de> <SS3o2.269$oD6.18936@burlma1-snr1.gtei.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10952f,e0782a6bf0e6f7aa
X-Google-Attributes: gid10952f,public
X-Google-Thread: 10669a,e0782a6bf0e6f7aa
X-Google-Attributes: gid10669a,public
X-Google-Thread: fa777,e0782a6bf0e6f7aa
X-Google-Attributes: gidfa777,public
X-Google-Thread: 102983,e0782a6bf0e6f7aa
X-Google-Attributes: gid102983,public
From: mibu@scrum.muc.de (M. Buchenrieder)
Subject: Re: Security hole with WU-FTPD
Date: 1999/01/17
Message-ID: <F5p6AI.569@scrum.muc.de>
X-Deja-AN: 433613142
References: <369FBEFB.EB1531B6@gds.ca> <0yRn2.85285$c8.41002764@hme2.newscontent-01.sprint.ca> <8YRn2.250$oD6.15990@burlma1-snr1.gtei.net> <F5n9LH.AnB@scrum.muc.de> <SS3o2.269$oD6.18936@burlma1-snr1.gtei.net>
Organization: private Linux-site
Newsgroups: comp.security.unix,redhat.networking.general,aus.computers.linux,comp.os.linux.networking