From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-12-23 12:10:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.u.washington.edu!140.142.17.34.MISMATCH!news.u.washington.edu!Shimo-Tomobiki.Panda.COM!MRC From: Mark Crispin Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: Congratulations for the festive season Date: Sun, 23 Dec 2001 11:51:54 -0800 Organization: Networks & Distributed Computing Sender: mrc@shivams.cac.washington.edu Message-ID: References: <1011221190540.59837B-100000@Ives.egh.com> <1011221211958.59837A-100000@Ives.egh.com> <87k7ve2ky8.fsf@prep.synonet.com> NNTP-Posting-Host: nntp6.u.washington.edu Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: nntp6.u.washington.edu 1009137163 23214 (None) 140.142.17.40 X-Complaints-To: help@cac.washington.edu In-Reply-To: <87k7ve2ky8.fsf@prep.synonet.com> Xref: archiver1.google.com comp.os.vms:57020 alt.sys.pdp10:8736 comp.sys.dec:10297 On 23 Dec 2001, Paul Repacholi wrote: > Mark Crispin writes: > > I'll give you a hint: payload. > Was this the TOPS-20 password cracking bug? The page fault one? That bug was in an older version of Tenex, not TOPS-20. It was well publicized (including CACM as I recall) and used in as a cautionary example in OS classes. In UNIX terms, the bug was that password validation was implemented as strcmp (password,get_password (user)) ? SUCCESS : FAIL By providing a pointer to the password one byte before a page boundary, and setting the next page to be no-access (instead of the normal "create private if touched"), if you got a page fault (which you could trap for instead of having the OS SEGV you) you would know that the first character was correct. Since only printing ASCII characters were used in passwords, that meant that you had at most 95 tries before you got the first character. Now, slide back the password pointer one byte and repeat to discover the second byte of the password. Repeat until you got the entire password. The fix, of course, was to swallow the entire user's password first before doing the string compare. Later on, passwords were one-way encrypted. -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate.