mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krzysztof Halasa <khc@pm.waw.pl>
To: John Lange <john.lange@bighostbox.com>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: A new model for ports and kernel security?
Date: 01 Oct 2003 22:10:02 +0200	[thread overview]
Message-ID: <m3he2sen39.fsf@defiant.pm.waw.pl> (raw)
In-Reply-To: <1065035183.5142.50.camel@mars>

John Lange <john.lange@bighostbox.com> writes:

> My understanding is that this is a hold-over from ancient days gone past
> where it was meant to be a security feature. Since only root processes
> can listen on ports less than 1024, you could "trust" any connection
> made to a low port to be "secure". In other words, nobody could be
> "bluffing" on a telnet port that didn't have root access therefore it
> was "safe" to type in your password.

It was for rlogin-like accesses, too - the server knew the client is
a suid and trusted program.
Think - NFS.

> Are not processes forced to run as root (at least at startup) that have
> security holes in them not the leading cause of "remote root exploits"?

Not commonly. They usually change ownership to something like www.www
and that is what the exploit gains first.
-- 
Krzysztof Halasa, B*FH

      parent reply	other threads:[~2003-10-02 16:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-01 19:06 John Lange
2003-10-01 19:27 ` James Morris
2003-10-02  1:45   ` John Lange
2003-10-02 13:22     ` Jesse Pollard
2003-10-02 14:30       ` John Lange
2003-10-06  8:06       ` Hans Reiser
2003-10-01 19:28 ` Valdis.Kletnieks
2003-10-01 20:10 ` Krzysztof Halasa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3he2sen39.fsf@defiant.pm.waw.pl \
    --to=khc@pm.waw.pl \
    --cc=john.lange@bighostbox.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome