Closed Bug 2054887 Opened 3 months ago Closed 3 months ago

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)

enhancement
Points:
2

Tracking

(firefox154 fixed)

RESOLVED FIXED
154 Branch
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.

This is actually equivalent to the geckodriver part which is covered on bug 2037819.

Group: core-security-release
Blocks: 2054896
Attached file (secure) —
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Severity: -- → S3
Points: --- → 2
Priority: -- → P2
Whiteboard: [webdriver:m21]

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.

Keywords: sec-want

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.

Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
Blocks: 2055407
Group: core-security-release
Whiteboard: [webdriver:m21] → [webdriver:m21][adv-main154-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: