FireFox is configured to allow JavaScript to move or resize windows.

From Mozilla Firefox Security Technical Implementation Guide

Part of DTBF181 - JavaScript move or resize windows

Associated with: CCI-000381

SV-16718r1_rule FireFox is configured to allow JavaScript to move or resize windows.

Vulnerability discussion

JavaScript can make changes to the browser’s appearance. This activity can help disguise an attack taking place in a minimized background window. Set browser setting to prevent scripts on visited websites from moving and resizing browser windows.

Check content

In About:Config, verify that the preference name “dom.disable_window_move_resize" is set and locked to “true”. Criteria: If the parameter is set incorrectly, then this is a finding. If the setting is not locked, then this is a finding.

Fix text

Ensure the preference "dom.disable_window_move_resize" is set and locked to the value of “true”.

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