JavaScript must be enabled for approved domains

From Google Chrome v23 Windows STIG

Part of DTBC0042 - Enable JavaScript for approved domains

Associated with IA controls: ECSC-1

Associated with: CCI-001588

SV-47083r2_rule JavaScript must be enabled for approved domains

Vulnerability discussion

"Allows you to set a list of url patterns that specify sites which are allowed to run JavaScript. If this policy is left not set the global default value will be used for all sites either from the 'DefaultJavaScriptSetting' policy if it is set, or the user's personal configuration otherwise.." - Google Chrome Administrators Policy ListJavascript is one of the most common attack vectors used to compromise a system, as such all sites should be blocked by default. Only trusted sites should be whitelisted.

Check content

Universal method(Requires Chrome Browser v15 or later): 1. In the omnibox(address bar) type chrome://policy 2. If the policy "JavaScriptAllowedForUrls" is not shown or is not set to "[*.]gov", "[*.]mil", , and organizationally defined and approved sites or a subset, this is a finding. Windows: Start regedit Navigate to HKLM\Software\Policies\Google\Chrome\JavaScriptAllowedForUrls If this key does not exist or is not set to "[*.]gov", "[*.]mil", and organizationally defined and approved sites or a subset, then this is a finding.

Fix text

Valid for Chrome Browser version 11 or later. Windows Registry: Registry Path: HKLM\Software\Policies\Google\Chrome\ Value Name: JavaScriptAllowedForUrls Value Type: List of strings Value Data: "[*.]gov", "[*.]mil", and organizationally defined and approved sites (or a subset) Windows group policy: Policy Path: Computer Configuration\Administrative Templates\Google\Google Chrome\Content Settings\ Policy Name: "Allow JavaScript on these sites" Policy State: Enabled Policy Value: "[*.]gov", "[*.]mil", and organizationally defined and approved sites (or a subset)

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer