Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 1995 01:34:42 +0300
From:      "Andrey A. Chernov, Black Mage" <ache@astral.msk.su>
To:        Remy CARD <Remy.Card@masi.ibp.fr>, hackers@FreeBSD.org
Subject:   Re: finger @ bug (fwd)
Message-ID:  <MR2YCPlyD0@astral.msk.su>
In-Reply-To: <199503131944.UAA10022@hebe.ibp.fr>; from Remy CARD at Mon, 13 Mar 1995 20:44:27 %2B0100 (MET)
References:  <199503131944.UAA10022@hebe.ibp.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <199503131944.UAA10022@hebe.ibp.fr> Remy CARD writes:


>	This has just been sent to the linux-security mailing list.  Since
>the FreeBSD's fingerd also has the bug, could someone please integrate the
>fix?

>Forwarded message:
>> Subject: finger @ bug
>> To: linux-security@tarsier.cv.nrao.edu
>> Date: Mon, 13 Mar 1995 14:58:31 +0100 (MEZ)
>> From: Marek Michalkiewicz <ind43@ci3ux.ci.pwr.wroc.pl>
>> 
>> Hi,
>> 
>> in.fingerd has a bug which allows "recursive" fingering.  For example:
>> 
>> finger user@host.other.domain@host.domain
>> 

This one isn't a bug but old-know routing feature, bug itself is to issue
finger @@@@@@@@@@@@@@@@@@@@@@@@ ... 200 times ... @@@@@@@@@@@@@@@host
it cause to start 200 fingerd on specified host. Using this in loop
cause process table full on remote host.

>> The bug is known for quite some time, and is not Linux-specific (it exists
>> at least in SunOS, Solaris, SCO, IRIX, FreeBSD - but has been fixed in HP-UX
>> for example).  It has some security implications: if you only allow finger
>> access from local domain, you must do this on all machines in local domain.
>> and it makes denial of service attack possible, especially on smaller Linux
>> boxes (by forking lots of processes).
>> 

You can easily avoid this bug by specifying -s key for fingerd.
It is already done in default inetd.conf for FreeBSD.
-- 
Andrey A. Chernov        : And I rest so composedly,  /Now, in my bed,
ache@astral.msk.su       : That any beholder  /Might fancy me dead -
FidoNet: 2:5020/230.3    : Might start at beholding me,  /Thinking me dead.
RELCOM Team,FreeBSD Team :         E.A.Poe         From "For Annie" 1849



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MR2YCPlyD0>