Bugtraq mailing list archives
Re: AIX rlogind
From: casper () fwi uva nl (Casper Dik)
Date: Sun, 22 May 94 19:38:03 +0200
It seems that just about every system that has installed the "shadow" password suite (the free version from John F. Haugh II. It was posted on comp.sources.unix from memory.) is vulnerable with this.Hmmm... I can't seem to reproduce it with Haugh's shadow passwd package. The arg processing in lmain.c uses getopt. Is it a bug in some implementations of getopt? Or are you testing an older version of the package than I have source code for (it appears to be 3.3)?
AIX login also uses getopt and both AIX and shadow use "f:" in the opt string. This f: is exactly the problem. Rlogind will allow you to pass one argument you get to choose. Both appear to have the same person involved (JF Haugh II) If login uses getopt with -f:, it will interpret an argument like -fuser the same as -f user, which is what causes the problem on AIX and it appears that the same problem exists in shadow 3.3.1. BSD versions of login either don't use getopt but require the options seperated by spaces (i.e., -pf fails, but -p -f is ok) or they use getopt but the -f option doesn't accept an argument. I have no idea whether shadow 3.3.x really has this problem, because I don't run it here. Casper
Current thread:
- Re: ruserok() & /etc/hosts.equiv Carl Corey (May 03)
- <Possible follow-ups>
- Re: ruserok() & /etc/hosts.equiv Carl Corey (May 03)
- Re: ruserok() & /etc/hosts.equiv Walker Aumann (May 03)
- Re: ruserok() & /etc/hosts.equiv Uwe Ellermann (May 04)
- Re: ruserok() & /etc/hosts.equiv Wietse Venema (May 21)
- AIX rlogind peter () freedom nmsu edu (May 21)
- Re: AIX rlogind Peter Wemm (May 21)
- Re: AIX rlogind Kevin Johnson (May 22)
- Re: AIX rlogind Casper Dik (May 22)
- Re: AIX rlogind Kevin Johnson (May 22)
- Re: AIX rlogind Casper Dik (May 22)
- Re: AIX rlogind Peter Wemm (May 22)
- Re: AIX rlogind matthew green (May 22)
- Re: AIX rlogind Paul A Vixie (May 23)
- Fix for Linux/AIX login hole Karyn Pichnarczyk (May 23)
- Re: Fix for Linux/AIX login hole Rens Troost (May 23)
- Re: AIX rlogind Bonfield James (May 24)
- Fix for Linux/AIX login hole Doug McLaren (May 22)
- Re: Fix for Linux/AIX login hole Tony Jago (May 23)
