9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Charles Forsyth <charles.forsyth@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] p9any auth in u9fs: uid value in ticked is ignored
Date: Mon, 10 Oct 2011 13:39:14 +0100	[thread overview]
Message-ID: <CAOw7k5jYgQKeELmybstA_-9JMDxdCJ3wae_Jm4oh9-uxyMAEww@mail.gmail.com> (raw)
In-Reply-To: <CAG3N4d-DWRpC+UZkgJQWYxgEwUi+jSzgMN=wVV+_J5Fq0eDEBw@mail.gmail.com>

It's true that the server must take account of the result of
authentication, but although that might not
mean identity, the results of authentication should be consistent with
the name presented as uname
in Tauth/Tattach. In the context of p9auth I think that means that the
cuid of AuthInfo should match.
That doesn't preclude the server from having a more subtle acquisition
of authority, for instance by
having an auth file that's kept open, allowing incremental
authentication using another protocol.

On 10 October 2011 13:07, Yaroslav <yarikos@gmail.com> wrote:
> There is a security problem with p9auth in u9fs: it uses uname from
> Tauth/Tattach as user's identity - ignoring the user id which has been
> authenticated to the auth server.  As uname is always set to up->user
> in devmnt, this means that:
>



  reply	other threads:[~2011-10-10 12:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10 12:07 Yaroslav
2011-10-10 12:39 ` Charles Forsyth [this message]
2011-10-10 14:01   ` Yaroslav
2011-10-10 16:18     ` Charles Forsyth
2011-10-10 20:47       ` Yaroslav
2011-10-10 22:03         ` Charles Forsyth

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=CAOw7k5jYgQKeELmybstA_-9JMDxdCJ3wae_Jm4oh9-uxyMAEww@mail.gmail.com \
    --to=charles.forsyth@gmail.com \
    --cc=9fans@9fans.net \
    /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;
as well as URLs for NNTP newsgroup(s).