Skip to content

Firefox must be configured to disable the installation of extensions.

An XCCDF Rule

Description

Addon installation may be disabled in an administrative policy by setting the InstallAddonsPermission key under policies to false.

Rationale

A browser extension is a program that has been installed into the browser to add functionality. Where a plug-in interacts only with a web page and usually a third-party external application (e.g., Flash, Adobe Reader), an extension interacts with the browser program itself. Extensions are not embedded in web pages and must be downloaded and installed in order to work. Extensions allow browsers to avoid restrictions that apply to web pages. For example, an extension can be written to combine data from multiple domains and present it when a certain page is accessed, which can be considered cross-site scripting. If a browser is configured to allow unrestricted use of extensions, plug-ins can be loaded and installed from malicious sources and used on the browser.

ID
xccdf_org.ssgproject.content_rule_firefox_policy-addons_permission
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