Bugtraq mailing list archives

Re: core symlinks


From: pluvius () dragon achilles net (pluvius)
Date: Thu, 25 Aug 1994 09:42:14 -0400 (EDT)


      It's been mentioned before that core dumps on
some systems may fallow symlink and that this can be used
to overwrite any file. I was wondering if anyone knows which
OS's and versions behave this way.

 Werd a1. I've tried this on the following systems

SunOS 4.1.3_U1
HP-UX 9.0
Linux 1.1.something

 and the basic story is that at the end of all the links, if you do not
have permission, it will not dump core... however if you do have 
permission to write to that file (ie: core -> foo -> bar -> /tmp/mycore)
it will dump it.



Current thread: