[37879] in bugtraq

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

Re: DJB's students release 44 *nix software vulnerability advisories

daemon@ATHENA.MIT.EDU (Chris Paget)
Wed Dec 22 13:09:41 2004

Message-ID: <41C96746.6060701@tombom.co.uk>
Date: Wed, 22 Dec 2004 12:23:34 +0000
From: Chris Paget <ivegotta@tombom.co.uk>
MIME-Version: 1.0
To: Antoine Martin <antoine@nagafix.co.uk>
Cc: "milw0rm Inc." <milw0rm@gmail.com>, bugtraq@securityfocus.com,
        Jonathan T Rockway <jrockw2@uic.edu>
In-Reply-To: <1103664625.10617.15.camel@cobra>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit


Antoine Martin wrote:

<snip>

> * gentoo systems by compromising one of the master servers (or more
> simply by hijacking the connection to one of the those servers) to serve
> the malicious file - but in this case you probably don't really need
> this exploit to compromise the system.
> * other automated build systems (no generic name comes to mind) which
> download the files they work on from other systems - which may not be
> trusted to the point that grants a shell but just enough to provide
> input.
> * compromising any open-source software's repository that already uses
> nasm and placing the exploit file in the default build target - tough,
> but not impossible (it has happened before and will happen again).

If you have compromised a source code repository wth the knowledge that 
the code in that repository will be compiled and run on your target 
system, then why would you go to all the effort of exploiting a NASM 
buffer overflow?  Simply write your trojan / backdoor / whatever in 
regular ASM or C, and let it get compiled as regular code.  Exploiting 
NASM in this case gains you nothing, and actually makes your life 
considerably harder.

I have difficulty in seeing this as a "remote" exploit; it's entirely 
dependant upon a piece of code (NASM) being invoked by a user on the 
local system with your arbitrary data being supplied.  Surely the very 
definition of a remote exploit is one that gives you the ability to run 
code on a system which you otherwise could not; ie a remote user with no 
access at all.

I'm curious - if you class this as a "remote" vulnerability, what would 
you class as a "local" bug, and what is the distinction as you see it?

Chris

-- 
Chris Paget
ivegotta@tombom.co.uk


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