lkml.org 
[lkml]   [1998]   [Sep]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 20 Sep 1998 19:47:43 -0700
From"David S. Miller" <>
SubjectRe: Chroot breach in 2.1.100+
   Date: 	Sun, 20 Sep 1998 18:32:01 -0400 (EDT)
   From: Alexander Viro <viro@math.psu.edu>

   # mount -t proc none .
   # echo ./../*
   <contents of the _parent_ of foo>
If you're root and can mount filesystems, you lose anyways.

Consider open("./1/cwd"...); open("./25/fd/5"...); etc.

Later,
David S. Miller
davem@dm.cobaltmicro.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:44    [from the cache]
©2003-2008