JavaScript must be disabled by default

From Google Chrome v24 Windows STIG

Part of DTBC0041 - Disable JavaScript for blacklisted sites

Associated with IA controls: ECSC-1

Associated with: CCI-001588

SV-47082r2_rule JavaScript must be disabled by default

Vulnerability discussion

"Allows you to set a list of url patterns that specify sites which are not 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. Therefore, a system should block javascript by default and allow by exception.

Check content

Universal method(Requires Chrome Browser v15 or later): 1. In the omnibox(address bar) type chrome://policy 2. If the policy "PluginsBlockedForUrls" is not shown or is not set to a list of administrator approved blacklisted sites, then this is a finding. Windows: Start regedit Navigate to HKLM\Software\Policies\Google\Chrome\PluginsBlockedForUrls If this key does not exist or is not set to a list of administrator approved blacklisted sites 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: JavaScriptBlockedForUrls Value Type: List of strings Value Data: a list of administrator approved blacklisted sites Windows group policy: Policy Path: Computer Configuration\Administrative Templates\Google\Google Chrome\Content Settings\ Policy Name: "Block JavaScript on these sites" Policy State: Enabled Policy Value: a list of administrator approved blacklisted sites If this setting is not feasible, the usage of a user controlled JavaScript blocker extension such as ScriptNo is recommend. This will give the users control at blocking JavaScript by default, and granting privileges to websites they need JavaScript for.

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