[2770] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

krb5-appl/457: ftpd fails to call endusershell()

daemon@ATHENA.MIT.EDU (donn@u.washington.edu)
Thu Aug 7 15:09:58 1997

Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: krb5-unassigned@RT-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, donn@u.washington.edu
Date: Thu, 7 Aug 1997 12:04:55 -0700
From: donn@u.washington.edu
Reply-To: donn@u.washington.edu
To: krb5-bugs@MIT.EDU


>Number:         457
>Category:       krb5-appl
>Synopsis:       ftpd skips endusershell(), can't repeat USER.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    krb5-unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Thu Aug 07 15:05:01 EDT 1997
>Last-Modified:
>Originator:     Donn Cave
>Organization:
	University of Washington University Computing Services
>Release:        1.0pl1
>Environment:
	Berkeley derived UNIX platforms.
System: AIX melville 2 4 000010504900


>Description:
	The endusershell() call in gssftp/ftpd/ftpd.c is commented out,
	with the annotation "breaks on Solaris 2.4".  Without endusershell(),
	the USER command fails after the first time, where a normal ftpd
	can repeat USER/PASS until it works.  Ftpd sleeps between iterations,
	so the attack implications of this appear to have already been
	considered.

>How-To-Repeat:
	Connect to host where ftpd uses getusershell() to validate the
	account (i.e. /etc/shells.)  Enter the wrong password, then try the
	"user" command over.

>Fix:
	Uncomment endusershell(), at least if not on Solaris 2.4.
>Audit-Trail:
>Unformatted:

home help back first fref pref prev next nref lref last post