Skip to content

Disable Firefox Development Tools

An XCCDF Rule

Description

Firefox provides development tools which identify detailed information about the browser and its configuration. These details are often also recorded into a log file, giving an attacker the ability to capture detailed information about the system. This can be disabled by setting DisableDeveloperTools to true in policies.json

Rationale

In order to protect privacy and sensitive data, Mozilla provides the ability to configure Firefox so that development tools are prevented from being used.

ID
xccdf_org.ssgproject.content_rule_firefox_policy-development_tools
Severity
Low
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