lkml.org 
[lkml]   [1998]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 13:44    [W:0.056 / U:3.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site