Re: Chroot breach in 2.1.100+

David S. Miller (davem@dm.cobaltmicro.com)
Sun, 20 Sep 1998 19:47:43 -0700


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/