Closed Bug 1134747 Opened 9 years ago Closed 5 years ago

Investigate possibility of proxying/filtering X11 traffic from Linux desktop content processes

Categories

(Core :: Security: Process Sandboxing, defect, P3)

All
Linux
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jld, Assigned: gcp)

References

Details

(Whiteboard: sblc4)

Attachments

(1 file)

If we can't change the graphics subsystem's dependency on being able to send requests to the X11 server, then perhaps we could intercept them and try to restrict them to operating only on resources (drawables?) that it owns.

At the moment, I have no idea how much effort this might require.  It would be helpful to have some data — for example, by intercepting the traffic and logging information about the requests (opcodes used, values of certain fields, etc.).

The machine-readable protocol descriptions in the xcb-proto project (git://anongit.freedesktop.org/git/xcb/proto) may be helpful here.
http://xtrace.alioth.debian.org/ should be able to give you the logging that you need.
Whiteboard: sb+
Moving to sblc4 which deals with this issue.
Whiteboard: sb+ → sblc4
Priority: -- → P3
This is even without opening a proper content tab.
Mentioning this because it'll probably be annoying to debug if it matters: X11 can do fd-passing, so the proxy may need to receive and forward SCM_RIGHTS.  See also: https://keithp.com/blogs/fd-passing/
Attachment #8968622 - Attachment mime type: text/x-log → text/plain
Assignee: jld → gpascutto

This got complex rather quickly: the proxy needs to inspect both ends of the connection flow to properly map X protocol extension ids, or extend it's side channel from the parent process to receive that mapping. Given that we are removing all toolkit/graphics stuff from content to achieve win32k lockdown, effort is probably better spent there. We currently are no longer pursuing this approach.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: