AF_UNIX support
Categories
(Core :: Networking, enhancement)
Tracking
()
People
(Reporter: demiobenour, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0
Steps to reproduce:
Try to use Firefox as the UI for a native application
Actual results:
Not able to connect over AF_UNIX, which is the only type of socket that is protected by OS filesystem permissions
Expected results:
Firefox should be able to connect to URLs such as unix+http:///run/user/1000/notebook.sock
. Since the use of such URLs is to allow native apps to securely use the browser as a UI, vulnerability that allow tampering with pages using them should be equivalent to arbitrary code execution. Jupyter notebooks are an excellent use-case for this.
Reporter | ||
Comment 1•6 years ago
|
||
Specifically, firefox /path/to/unix/socket
should connect to said socket over HTTP.
Comment 2•6 years ago
|
||
Also see bug 1489860.
Im setting the component for this one and maybe one of our developers can take a look and know more about this issue
regards
Pablo
Updated•5 years ago
|
Comment 4•5 years ago
|
||
I think there are ways to use a local TCP socket with https that would have the same security characteristics. I don't think there's enough unique value here to justify this approach.
Description
•