FFOX-00-000011 - Firefox must be configured to prevent JavaScript from raising or lowering windows.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

JavaScript can raise and lower browser windows to cause improper input. Configure the browser setting to prevent scripts on visited websites from raising and lowering 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_flip': {
'Value': true,
'Status': 'locked'
}
}

macOS 'plist' file:
Add the following:
<key>Preferences</key>
<dict>
<key>dom.disable_window_flip</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_flip': {
'Value': true,
'Status': 'locked'
}
}

See Also

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

Item Details

References: CAT|II, CCI|CCI-000381, Rule-ID|SV-251555r807137_rule, STIG-ID|FFOX-00-000011, Vuln-ID|V-251555

Plugin: Unix

Control ID: d2d58df39a47e0b816d808b400ca7fecc50dcadd6f3080259343df82b064b4bd