BaselineWatch
Desk

FFOX-00-000010 Firefox must be configured to prevent JavaScript from moving or resizing windows.

DISA STIG library V6R9
All changes in this version
first version loaded CAT II

Maps to CM-7 via CCI-000381

Title

Firefox must be configured to prevent JavaScript from moving or resizing windows.

Control

Type "about:policies" in the browser address bar. If "Preferences" is not displayed under Policy Name or the Policy Value does not include "dom.disable_window_move_resize" with a value of "true" and status of "locked", this is a finding.

Discussion

JavaScript can make changes to the browser's appearance. This activity can help disguise an attack taking place in a minimized background window. Configure the browser setting to prevent scripts on visited websites from moving and resizing browser windows.

Related controls

CCI-000381

Fix

Windows group policy: 1. Open the group policy editor tool with "gpedit.msc". 2. Navigate to Policy Path: Computer Configuration\Administrative Templates\Mozilla\Firefox\ Policy Name: Preferences Policy State: Enabled Policy Value: { "dom.disable_window_move_resize": { "Value": true, "Status": "locked" } } macOS "plist" file: Add the following: Preferences dom.disable_window_move_resize Value Status locked Linux "policies.json" file: Add the following in the policies section: "Preferences": { "dom.disable_window_move_resize": { "Value": true, "Status": "locked" } }