Skip to content

Enable Firefox Pop-up Blocker

An XCCDF Rule

Description

The pop-up blocker can be enabled by setting Default key under PopupBlocking to true in policies.json. Allowed may be set to a list of sites allowed to use popups.

Rationale

Popup windows may be used to launch an attack within a new browser window with altered settings.

ID
xccdf_org.ssgproject.content_rule_firefox_policy-pop-up_windows
Severity
Medium
References
Updated



Remediation - Shell Script


firefox_cfg="policies.json"
# Default to /etc/firefox/policies to use for remediations.
firefox_dirs="/etc/firefox/policies"
permissions=644