Closed
Bug 1134747
Opened 10 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)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: jld, Assigned: gcp)
References
Details
(Whiteboard: sblc4)
Attachments
(1 file)
(deleted),
text/plain
|
Details |
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.
Comment 1•10 years ago
|
||
http://xtrace.alioth.debian.org/ should be able to give you the logging that you need.
Updated•9 years ago
|
Whiteboard: sb+
Updated•7 years ago
|
Priority: -- → P3
Assignee | ||
Comment 3•7 years ago
|
||
This is even without opening a proper content tab.
Reporter | ||
Comment 4•7 years ago
|
||
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/
Reporter | ||
Updated•7 years ago
|
Attachment #8968622 -
Attachment mime type: text/x-log → text/plain
Reporter | ||
Updated•7 years ago
|
Assignee: jld → gpascutto
Assignee | ||
Comment 5•5 years ago
|
||
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.
Description
•