Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1182138

Re: kdbus: credential faking

From Richard Weinberger <richard.weinberger@gmail.com>
Newsgroups linux.kernel
Subject Re: kdbus: credential faking
Date 2015-07-11 13:40 +0200
Message-ID <pL1ip-2BL-3@gated-at.bofh.it> (permalink)
References (4 earlier) <pKJ2a-8aV-25@gated-at.bofh.it> <pKJlv-8hr-9@gated-at.bofh.it> <pKK7V-mu-33@gated-at.bofh.it> <pKKUh-Sv-5@gated-at.bofh.it> <pKLnk-12f-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Jul 10, 2015 at 8:36 PM, Casey Schaufler <casey@schaufler-ca.com> wrote:
> On some systems the uid is being used as an application identifier
> instead of a human identifier. The access controls are not designed
> for this. The POSIX capabilities aren't designed for this. If Fred
> creates a program that is setuid to fred and gets Barney to run it,
> you hold Fred accountable. If a malicious (or compromised) application
> identified by "fred" creates a setuid fred program and the "barney"
> application runs it, who do you hold accountable? It's a completely
> different mindset. Sure, you can wedge the one into the other, but
> it's not the intended use. Hence, misuse or abuse.

Actually that's an interesting thought.
The question is whether the /run/user/<uid>/bus security model works
also for "special" userland like Android.
To my knowledge on Android each application runs as different user.

If kdbus gets merged it would be nice to have to work with all kinds of userland
and not only Fedora.

-- 
Thanks,
//richard
--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: kdbus: credential faking David Herrmann <dh.herrmann@gmail.com> - 2015-07-10 18:30 +0200
  Re: kdbus: credential faking Casey Schaufler <casey@schaufler-ca.com> - 2015-07-10 19:20 +0200
    Re: kdbus: credential faking Richard Weinberger <richard.weinberger@gmail.com> - 2015-07-11 13:40 +0200

csiph-web