Closed
Bug 1388454
Opened 7 years ago
Closed 7 years ago
Remove access to com.apple.pasteboard.1 from the content process
Categories
(Core :: Security: Process Sandboxing, enhancement, P1)
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: Alex_Gaynor, Assigned: Alex_Gaynor)
References
Details
(Whiteboard: sb+)
Attachments
(1 file)
com.apple.pasteboard.1 is the pasteboard service -- it does things like copy paste, intraprocess services (e.g. "look this word up in the dictionary", and drag-and-drop: https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/PasteboardGuide106/Articles/pbConcepts.html
From local testing, removing access to this in the content process generates some denied log messages at process startup, but all the functionality I just described continues to work.
Assignee | ||
Comment 1•7 years ago
|
||
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8895413 [details]
Bug 1388454 - remove access to the com.apple.pasteboard.1 mach service from content processes;
https://reviewboard.mozilla.org/r/166592/#review171720
r+. Could you document the error messages in the bug so they'll show up in searches? I suspect they're triggered by native event loop code like the existing pasteboard messages that we see.
Attachment #8895413 -
Flags: review?(haftandilian) → review+
Assignee | ||
Comment 4•7 years ago
|
||
Sure, the errors are:
SandboxViolation: plugin-container(23302) deny(1) mach-lookup com.apple.pasteboard.1
Failed to obtain 'pboard' service port: <error: 0x7fffee22dca0> { count = 1, transaction: 0, voucher = 0x0, contents =
"XPCErrorDescription" => <string: 0x7fffee22df18> { length = 18, contents = "Connection invalid" }
}
Connection to 'pboard' server had an error: <error: 0x7fffee22dca0> { count = 1, transaction: 0, voucher = 0x0, contents =
"XPCErrorDescription" => <string: 0x7fffee22df18> { length = 18, contents = "Connection invalid" }
}
failed to create global data
Updated•7 years ago
|
Priority: P2 → P1
Whiteboard: sb+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/b8bfa5135498
remove access to the com.apple.pasteboard.1 mach service from content processes; r=haik
Keywords: checkin-needed
Comment 6•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in
before you can comment on or make changes to this bug.
Description
•