Peres: Wayland Compositors - Why and How to Handle Privileged Clients!
While I think the user-intent method has a higher security than static privilege assignation, I think both should be implemented with the latter used as a way for users to specify they are OK with potentially reducing the security of the desktop environment to let the application he/she wants to run properly. This will lower users’ dissatisfaction and should result in a better security than bypassing some security properties for all applications. I am however worried that some stupid applications may be OK with creating snapshot capabilities from the command line, without requiring the user’s input. A packager would then grant the privileges to this application by default and thus, the mere fact of having this application installed will make your desktop non-confidential anymore." (Thanks to Patrick Guignot.)
Posted Feb 20, 2014 20:04 UTC (Thu)
by uoppy (guest, #95651)
[Link] (10 responses)
That is, knowing that the Firefox window is indeed Firefox and not another application copying the Firefox UI to steal the users' password.
This requires server-side decorations AND either randomizing the decoration appearance and keeping it secret or connecting windows to the edge of the screen with a bar (to prevent simulating a fake window inside a legitimate window).
Posted Feb 20, 2014 20:11 UTC (Thu)
by uoppy (guest, #95651)
[Link] (7 responses)
BTW, input confidentiality also means that new windows must not initially overlap existing windows or be raisable to be so (or you can steal clicks and later keyboard input), and that applications must not be able to steal input focus.
Posted Feb 21, 2014 9:52 UTC (Fri)
by dgm (subscriber, #49227)
[Link]
An alternative that could possibly work is to use an intermediary application that could authenticate the application requesting the password, and teach the users to _always_ use that intermediary application.
Posted Feb 21, 2014 12:36 UTC (Fri)
by alexl (subscriber, #19068)
[Link] (5 responses)
Posted Feb 27, 2014 20:33 UTC (Thu)
by deepfire (guest, #26138)
[Link] (4 responses)
I can only find a semi-incoherent counter-point by Alan Cox[1] -- and it fails to convince.
--
Posted Feb 28, 2014 3:58 UTC (Fri)
by mathstuf (subscriber, #69389)
[Link] (3 responses)
[1]Or something like that...I can never remember the PIC terms in the right order.
Posted Feb 28, 2014 6:24 UTC (Fri)
by deepfire (guest, #26138)
[Link] (2 responses)
Were it an ELF flag, you could toggle it in-place, but in-place symbol attribute modification is far less practical.
LD_PRELOAD is a fairly common attack vector, and nothing is being done about it.
Posted Feb 28, 2014 6:48 UTC (Fri)
by mathstuf (subscriber, #69389)
[Link] (1 responses)
I've been considering using protected in my projects since they're C++ and that anything done is likely to break in amazing ways (How do you fix up vtables? Does LD_PRELOAD work for them?).
Posted Feb 28, 2014 8:03 UTC (Fri)
by deepfire (guest, #26138)
[Link]
And yes, whenever such security/flexibiility tradeoffs are introduced in future, they ought to be:
1. optional, with root-restrictable means of control
This is basic security, isn't it?
Posted Feb 20, 2014 20:17 UTC (Thu)
by mupuf (subscriber, #86890)
[Link] (1 responses)
Posted Feb 27, 2014 10:30 UTC (Thu)
by renox (guest, #23785)
[Link]
Not true: this also requires that there is a protocol to tell clients that the server has server side decoration so clients shouldn't render their decoration otherwise it wouldn't look good with 'double decoration'.
Fortunately (AFAIK), this is not a problem as the protocol exist..
Peres: Wayland Compositors - Why and How to Handle Privileged Clients!
Peres: Wayland Compositors - Why and How to Handle Privileged Clients!
Peres: Wayland Compositors - Why and How to Handle Privileged Clients!
Peres: Wayland Compositors - Why and How to Handle Privileged Clients!
Peres: Wayland Compositors - Why and How to Handle Privileged Clients!
1. http://lkml.iu.edu//hypermail/linux/kernel/0712.1/2040.html
Peres: Wayland Compositors - Why and How to Handle Privileged Clients!
Peres: Wayland Compositors - Why and How to Handle Privileged Clients!
Peres: Wayland Compositors - Why and How to Handle Privileged Clients!
Peres: Wayland Compositors - Why and How to Handle Privileged Clients!
2. off by default
Peres: Wayland Compositors - Why and How to Handle Privileged Clients!
Peres: Wayland Compositors - Why and How to Handle Privileged Clients!
[ let's just hope that those who push for client side decoration in the name of performance don't remove support for this protocol.. ]