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

Information

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.

Solution

Windows group policy:
1. Open the group policy editor tool with 'gpedit.msc'.
2. Navigate to Policy Path: Computer ConfigurationAdministrative TemplatesMozillaFirefox
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'
}
}

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MOZ_Firefox_V6R5_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-251554r879587_rule, STIG-ID|FFOX-00-000010, Vuln-ID|V-251554

Plugin: Unix

Control ID: ec54abe6b4cf67b7b6239d1b1cad2d8839ec9ce69a5eae5e7022859a5341281d