Marionette should use "MOZ_REMOTE_ALLOW_SYSTEM_ACCESS" instead of "--remote-allow-system-access" command line argument
Categories
(Testing :: Marionette Client and Harness, enhancement, P2)
Tracking
(firefox154 fixed)
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
(Keywords: sec-want, Whiteboard: [webdriver:m21][adv-main154-])
Attachments
(1 external file)
Currently Marionette uses the --remote-allow-system-access command line argument for Firefox. We should change it to use the MOZ_REMOTE_ALLOW_SYSTEM_ACCESS environment variable instead.
| Assignee | ||
Comment 1•3 months ago
|
||
This is actually equivalent to the geckodriver part which is covered on bug 2037819.
| Assignee | ||
Comment 2•3 months ago
|
||
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
Comment 3•3 months ago
|
||
The rating assigned by our bug rating tool (currently under development) is:
Rating: sec-want
Explanation: Not a vulnerability. This is a testing/Marionette hardening-refactoring task to enable privileged system access via the MOZ_REMOTE_ALLOW_SYSTEM_ACCESS environment variable instead of the --remote-allow-system-access command-line flag (both already supported in RemoteAgent.sys.mjs), mirroring the geckodriver change in bug 2037819. Motivated by reducing exposure of the flag in process command lines, it is a security-relevant improvement rather than an exploitable flaw, so it maps to sec-want. The lone attachment is a patch; no evidence review needed.
whimboo: Please ni? me if you disagree with this rating.
| Assignee | ||
Comment 4•3 months ago
|
||
The rating seems fine to me. Thanks!
Just a note to myself: Once the bug is fixed we need to release a new marionette-driver release so that upstream web-platform tests will use the environment variable and not set the command line argument.
Comment 6•3 months ago
|
||
Updated•3 months ago
|
Updated•2 months ago
|
Description
•