[31278] in bugtraq

home help back first fref pref prev next nref lref last post

Re: Buffer overflow prevention

daemon@ATHENA.MIT.EDU (Glynn Clements)
Tue Aug 19 22:42:38 2003

From: Glynn Clements <glynn.clements@virgin.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16193.33680.447670.631553@cerise.nosuchdomain.co.uk>
Date: Tue, 19 Aug 2003 02:55:28 +0100
To: bugtraq@securityfocus.com
In-Reply-To: <200308182216.h7IMGtJt014983@cvs.openbsd.org>


Theo de Raadt wrote:

> One of these days someone is going to use the magic of a system call
> interposition mechanism such systrace; and for their application
> accidentally create an operating system behaviour that is un-POSIX,
> and some application is going to misbehave as a result of that change
> and inadvertantly this will result in the CREATION of a hole.

For a concrete example regarding POSIX 1e capabilities (which
are essentially a "system call interposition mechanism"):

	http://ciac.llnl.gov/ciac/bulletins/k-064.shtml

Summary: If a root process doesn't have CAP_SETUID, attempts to give
up root privilege fail, resulting in the process continuing to run as
root.

-- 
Glynn Clements <glynn.clements@virgin.net>

home help back first fref pref prev next nref lref last post