lkml.org 
[lkml]   [1999]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.2.0 SECURITY

On 27-Jan-99 Raul Miller wrote:
> Only if it's not a good idea to do debugging in a multi-user
> environment.
>
> gdb makes it quite simple to call target program functions from inside a
> debugging session. Imagine that someone works out how to insert a trojan
> inside a core file (I dunno -- by mucking up a jump table or some such).
>
> Even worse if someone has a reason to be debugging as root...
>
> So, maybe it's a low risk, but it's not no risk.

If you can open and write to the core as it is being written, you can also open
and write to it after it has been written. There's no additional risk. You
could also open and create a new core file with whatever contents you like
without help from the kernel.

By default cores are owned by the process's uid and have 0600 mode, so they are
protected from other users.

J

-
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:50    [W:0.141 / U:0.744 seconds]
©2003-2014 Jasper Spaans. Advertise on this site