Remove the "--remote-allow-system-access" command line argument for Firefox
Categories
(Remote Protocol :: Agent, task, P2)
Tracking
(firefox-esr115 unaffected, firefox-esr153 wontfix, firefox157 wontfix, firefox158 wontfix, firefox159+ fixed)
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
(Keywords: sec-want, Whiteboard: [webdriver:m22][webdriver:relnote][adv-main159-])
Attachments
(2 external files)
Once bug 2054887 and bug 2037819 are fixed, we should consider removing the -remote-allow-system-access command-line argument from Firefox, as it will no longer be necessary.
Removing it would also prevent WebDriver clients from specifying the argument through moz:firefoxOptions in New Session capabilities, where it currently provides an easy way to enable system access when creating a WebDriver session.
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•3 months ago
|
||
We cannot do that before geckodriver 0.37.1 was released. So lets block on bug 2051391.
| Assignee | ||
Comment 2•3 months ago
|
||
There is no active security issue associated with this change. The work here is intended to further harden WebDriver by making access to privileged browser contexts more explicit. In particular, it prevents users from inadvertently enabling privileged access (such as evaluating scripts in Gecko chrome contexts) via command-line arguments, and instead requires the MOZ_REMOTE_ALLOW_SYSTEM_ACCESS environment variable to be set explicitly.
Given that this is a defense-in-depth improvement rather than a fix for a known exploitable vulnerability, I think we could consider making this bug public?
| Assignee | ||
Updated•3 months ago
|
Updated•3 months ago
|
| Assignee | ||
Comment 3•1 month ago
|
||
Updated•1 month ago
|
| Assignee | ||
Comment 4•1 month ago
|
||
| Assignee | ||
Comment 5•1 month ago
|
||
I can only land the first patch this week which requires an upstream sync to the wpt repository. Once that's done we can also land the removal of the Firefox argument. But for that we should wait until the next merge on Monday to not cause any issues that late in the 158 nightly (and soon beta) cycle.
Comment 7•1 month ago
|
||
| bugherder | ||
| Assignee | ||
Comment 8•1 month ago
|
||
The upstream PR for the landed wptrunner changes is https://github.com/web-platform-tests/wpt/pull/62927.
| Assignee | ||
Comment 9•1 month ago
|
||
(In reply to Henrik Skupin [:whimboo][⌚️UTC+2] from comment #8)
The upstream PR for the landed wptrunner changes is https://github.com/web-platform-tests/wpt/pull/62927.
And it got admin merged. That means we are good to go for the removal of the argument in Firefox once the next merge to beta happened.
Comment 10•1 month ago
|
||
Comment 11•1 month ago
|
||
| bugherder | ||
| Assignee | ||
Comment 13•1 month ago
|
||
Yes, this is now done.
Updated•1 month ago
|
Updated•28 days ago
|
Updated•16 days ago
|
Updated•7 days ago
|
Comment 14•7 days ago
|
||
This is an API change, should we disclose this bug so it can be mentioned in release notes clearly?
Updated•4 days ago
|
Updated•3 days ago
|
Description
•