home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.misc
- Path: sparky!uunet!noc.near.net!lynx!random.ccs.northeastern.edu!news
- From: Gone with the Lemming <ratinox@meceng.coe.northeastern.edu>
- Subject: SERIOUS BUG: SunOS' YP/NIS password daemon
- Message-ID: <RATINOX.92Dec30162148@splinter.coe.northeastern.edu>
- Lines: 38
- Sender: news@random.ccs.northeastern.edu
- Nntp-Posting-Host: splinter-gw.coe.northeastern.edu
- X-Posting-Software: GNUS 3.14.1 [ NNTP-based News Reader for GNU Emacs ]
- X-Signature-Virus-Protection: Version 1.51
- X-Get-A-Clue: Have two, they're small.
- Organization: 3WA, Boston Office. Or Nu Meta Chi. Take your pick.
- Date: Wed, 30 Dec 1992 21:22:48 GMT
- Lines: 38
-
- We here at Northeastern have discovered a serious bug in SunOS' yppasswdd
- daemon under SunOS 4.1.2 and up, and probably earlier versions.
-
- Specifically, if an existing password contains colons (":"), then the RPC
- calls from yppasswd to yppasswdd (on the YP/NIS server), fails when you
- attempt to change a password. Here's the error reported (tanelorn is one of
- our local YP servers and home to the YP password file, dworkin is a YP
- client)
-
- [dworkin] ~> yppasswd
- Changing NIS password for ratinox on tanelorn.ccs.northeastern.edu.
- Old password:
- New password:
- Retype new password:
- RPC: Server can't decode arguments
-
- yppasswd couldn't change entry (rpc call failed)
- [dworkin] ~>
-
- A bug report has been sent to Sun, and should show up in the next bug
- report book.
-
- This only shows up under YP; running "passwd" locally works fine. It also
- works fine if you change an existing password without colons to one with
- colons. The problem only occours if the "old" password contains colons.
-
- Diagnosis:
-
- Without having source code to check over, it seems that yppasswd is feeding
- an unencrypted "old" password to the yppasswdd daemon via RPC. Then
- yppasswdd chokes because colons are the password file delimiters. Since
- yppasswdd doesn't fail when setting a password with colons in them, the new
- passwords are being transmitted encrypted.
-
- --Rat PGP Public Key Block available upon request
- ||||| | | | | | | | | | | | | | | | | | | | | | | |||||
- Northeastern's Stainless Steel Rat ratinox@meceng.coe.northeastern.edu
- Remember, no matter where you go, there you are. --Buckaroo Banzai
-