[lkml]   [1999]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Unexecutable Stack / Buffer Overflow Exploits...
In <> Arjan van de Ven ( wrote:
> In article <> you wrote:
>>> > suffice to raise major havoc. Besides if they can get a shell as ANY UID
>>> > that gives them an inside base from which to advance their attack.

> I would like to see an option that does the folowing:

> 1) Let "normal user" programs bind to ports < 1024
> 2) that program was given this "capability" by root, for example
> by means of an file-system flag.

> This allows a lot of, currently, SUID-programs to run as non-root all the
> way, and thus, when used properly, enhances security of networked systems.

It's long story. You can do it NOW (more or less). Capabilities like this
are in kernel. So what you should do is just adding fie lines to the very
start of main() -- drop all capabilities there except of capability to bind
to ports < 1024 ... Where to store such capability in filesystem was discussed
year ago and no consensus was gotten :-((

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:55    [W:0.068 / U:1.812 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site