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: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2001-12-22 14:00:53 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.kjsl.com!news.usenet2.org!citadel.in.taronga.com!not-for-mail From: peter@taronga.com (Peter da Silva) Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: Buffer Overflows - again Was: (Re: Congratulations for the festive sea Date: 22 Dec 2001 21:55:03 GMT Organization: TSS Inc. Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <9vvt7m$hu2@weyl.math.psu.edu> <3C235485.6DAE0096@trailing-edge.com> NNTP-Posting-Host: citadel.in.taronga.com X-Trace: citadel.in.taronga.com 1009058103 92458 10.0.0.43 (22 Dec 2001 21:55:03 GMT) X-Complaints-To: usenet@taronga.com NNTP-Posting-Date: 22 Dec 2001 21:55:03 GMT X-Newsreader: trn 4.0-test72 (19 April 1999) Xref: archiver1.google.com comp.os.vms:56868 alt.sys.pdp10:8661 comp.sys.dec:10207 In article <3C235485.6DAE0096@trailing-edge.com>, Tim Shoppa wrote: >But write it over the stack (where a C program is likely to keep >all its local variables), and when you hit a return you can go >to any syscall you want with whatever parameters you want. True, >it's not easy to run code, but all you have to do is rename a file >or change a protection or set the setuid bit (Unix) or redefine >a logical (VMS) and the system can be made wide open. Pushing the address of "exec" with the arguments "/bin/sh" "sh" "-i" NULL, for example. -- Rev. Peter da Silva, ULC. "Cave cuniculos lagana ferentes" "Be conservative in what you generate, and liberal in what you accept" -- Matthew 10:16 (l.trans)