Re: A new model for ports and kernel security?

From: Krzysztof Halasa (khc_at_pm.waw.pl)
Date: 10/01/03

  • Next message: Jörn Engel: "[PATCH] remove unnecessary #includes from <linux/fs.h>"
    To: John Lange <john.lange@bighostbox.com>
    Date:	01 Oct 2003 22:10:02 +0200
    
    

    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
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Jörn Engel: "[PATCH] remove unnecessary #includes from <linux/fs.h>"

    Relevant Pages

    • Re: [CFT][RFC] HT scheduler
      ... willing to take the 1-2% penalty on light load to get the bonus on heavy ... If someone has measured the effect of HT on interrupt latency or server ... transaction response I haven't seen it, but based on a server I just ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Misc NFSv4 (was Re: statfs() / statvfs() syscall ballsup...)
      ... and just running the few compile commands ... not sure if they have the delegation recall feature. ... the server when your client reconnects. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.11 oops in skb_drop_fraglist
      ... i had implemented a patch to cause the RPC client to reuse the port ... number when reconnecting to the server after the server drops the ... i suspect it was that patch that was causing the trouble. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: why swap at all?
      ... > The point you're missing is that if you use a rule such as "everything using ... > (Anybody who ever had the OOM killer whomp their X server to free up space ... interesting is the swapping problem fragmentation: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: kernel OOPS for XFS in xfs_iget_core (using NFS+SMP+MD)
      ... Server must be SMP ... Make sure you keep lots of things going concurrently on the clients. ... belonging to another unprivileged user - files can show up with modes ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)