Firefox must be configured to prevent JavaScript from moving or resizing windows.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-251554 | FFOX-00-000010 | SV-251554r1067554_rule | CCI-000381 | medium |
| Description | ||||
| 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. | ||||
| STIG | Date | |||
| Mozilla Firefox Security Technical Implementation Guide | 2025-02-11 | |||
Related Frameworks
3 paths across 3 frameworks
Related Frameworks
NIST 800-531 mapping
CM-7
1.00
- DISA · 6 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1711 mapping
3.4.6
1.00
- DISA · 6 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-000381
1.00
- DISA · 6 · disa_xccdf · related
Details
Check Text (C-251554r1067554_chk)
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.
Fix Text (F-54943r807133_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:
<key>Preferences</key>
<dict>
<key>dom.disable_window_move_resize</key>
<dict>
<key>Value</key>
<true/>
<key>Status</key>
<string>locked</string>
</dict>
</dict>
Linux "policies.json" file:
Add the following in the policies section:
"Preferences": {
"dom.disable_window_move_resize": {
"Value": true,
"Status": "locked"
}
}