| Summary: | ssh -X and "ForwardX11Trusted no" break most applications, distros turn on "ForwardX11Trusted yes" | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Paul Wise <pabs3> |
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | NEW --- | ||
| Severity: | enhancement | CC: | cjwatson, jjelen |
| Priority: | P5 | ||
| Version: | 7.2p1 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Paul Wise
2016-03-14 13:19:42 AEDT
Thank you for bringing this upstream. The fact that SECURITY extension "breaks" applications is known problem for years, but when distros basically disabled untrusted forwarding, there was no reason for application developers to fix these problems. And now we are on the same page, >10 years later. But you miss one thing that changed. The XSECURITY extension is no longer enabled by default on current systems (at least Fedora/RHEL) and disabled upstream since 2007 in favour of X Access Control Extension (XACE). This caused CVE-2016-1908 (fallback from untrusted to trusted) when the extension is missing. Current behaviour is that untrusted X11 forwarding requests fail in this case My initial idea was to have a look into XACE, if it is mature enough and if it would be able to work with our X11 forwarding, but Wayland/xpra look also like an interesting way to go. I would be interested in others insights on this issue. Thanks for that information. Using XACE sounds better than xpra since the latter would be an extra external dependency. Wayland support would be an entirely separate feature and probably off-topic here. There has been some work on transporting Wayland over the network here: https://lists.freedesktop.org/archives/wayland-devel/2016-February/026933.html https://blogs.s-osg.org/wow-wayland-over-wire/ |