All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Jun OKAJIMA <okajima@digitalinfra.co.jp>, SELinux@tycho.nsa.gov
Subject: Re: Do you trust X server?
Date: Fri, 18 Mar 2005 11:07:11 -0500	[thread overview]
Message-ID: <423AFCAF.5050802@redhat.com> (raw)
In-Reply-To: <1111149494.17131.13.camel@moss-spartans.epoch.ncsc.mil>

Stephen Smalley wrote:

>On Fri, 2005-03-18 at 07:28 +0900, Jun OKAJIMA wrote:
>  
>
>>Hello.
>>
>>I am not sure that here is the proper place to discuss this issue,
>>but do you trust X server (or video driver), when you use your PC
>>with X window?.
>>
>>Most ( and probably all) X server runs as root on Linux.
>>Then, if it has ( and it must have ) a buffer overflow or any vulnerability,
>>and it would execute some cruel code if a certain drawing commands set comes.
>>A cracker makes web sites contain htmls or SVG or ... to make a such commands
>>set to be displayed. Then, you can be cracked with just browsing the pages,
>>not being required to click untrusted contents explicitly.
>>
>>Have you considered this risk? Is there any site about this issue?
>>And any measure to solve this issue with SE linux?
>>    
>>
>
>There are ways to run X with less privilege (unrelated to SELinux), and
>SELinux can then be used to limit the capabilities granted to the X
>server.  X is also a concern for SELinux because without modification,
>it allows uncontrolled information flow among X clients, potentially
>violating the security policy.  The latter concern (but not the former
>one) is being addressed by the security enhanced X work, originally by
>Eamon Walsh and now picked up by Trusted Computer Solutions.  See:
>http://www.nsa.gov/selinux/papers/x11-abs.cfm
>http://www.nsa.gov/selinux/list-archive/0405/7030.cfm
>http://lists.freedesktop.org/pipermail/xorg/2005-February/006452.html
>http://lists.freedesktop.org/archives/xorg/2005-March/006906.html
>
>  
>
Jim Getty's also mentioned at the SELinux Symposium some effort to get X 
to not
need to run as Root (Or at least most of X).



-- 



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2005-03-18 16:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-17 22:28 Do you trust X server? Jun OKAJIMA
2005-03-18  5:26 ` Valdis.Kletnieks
2005-03-18  8:35   ` Tom
2005-03-18 16:58     ` Valdis.Kletnieks
2005-03-18 12:38 ` Stephen Smalley
2005-03-18 16:07   ` Daniel J Walsh [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-03-18 16:21 Casey Schaufler
2005-03-24 20:26 ` Tom
2005-03-24 20:41 Casey Schaufler
2005-03-24 21:02 ` Tom

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=423AFCAF.5050802@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=SELinux@tycho.nsa.gov \
    --cc=okajima@digitalinfra.co.jp \
    --cc=sds@tycho.nsa.gov \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.