Skip to content
System hardening
ASD ISMISM-1486

ASD ISM 1486 Restrict Java processing in web browsers

What it says

Web browsers do not process Java from the internet.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

Web browsers must not load or run Java content, such as applets, from any internet site, even if a person would accept a prompt; JavaScript is a different language and is not covered.

Web browsers must not process Java that comes from the internet. Java here means programs written in the Java language, such as applets, that a browser runs through a Java plug-in. It is not JavaScript, a different language that most web pages use. Not processing means the content never runs: a prompt that lets a person choose to run it is not enough. Every browser and compatibility mode in use is covered. Java from internal sites is outside this control.

Why it matters

Java content from a web page runs as a program on the device, and Java plug-in flaws have long been used to plant malicious code from compromised sites. Not processing internet Java closes that route to a foothold on the network.

How to implement

  1. Find every browser, compatibility mode and Java plug-in in use.

    Scan workstations, and servers people browse from such as terminal servers, for Java runtimes that include a browser plug-in, older browsers and legacy compatibility modes that can load plug-ins. Current versions of the main browsers no longer run Java plug-ins, so the exposure usually sits in these leftovers.

  2. Remove Java browser plug-ins and browsers that can load them.

    Uninstall the plug-in, or the whole Java runtime where no program needs it, and disable or remove browsers that still support plug-ins. Where a desktop program needs Java, install a Java runtime release that has no browser plug-in.

  3. Limit any remaining Java to named internal sites.

    If an internal application still needs Java in a browser, allow it only for that site through the browser's site list or zone policy, block it for every internet address, and lock the setting (ISM-1585). A click-to-run prompt does not meet this control.

Keep it running

Recheck after installing or updating a Java runtime, adding a browser or enabling a compatibility mode, because each can bring a plug-in back. Remove internal sites from the Java allow list as their applications are retired.

Evidence and audit

  1. Check 1 of 2What an auditor asks for

    Ask for

    A software inventory scan of all workstations, and of servers people browse from such as terminal servers, for Java runtimes, Java browser plug-ins, and browsers or compatibility modes that can load them.

    Look at

    Whether any device can load Java in a browser and, if so, which sites the policy allows.

    Good evidence

    No device can load Java in a browser, or where an internal application needs it, policy allows Java only for named internal sites and blocks it for every internet address.

  2. Check 2 of 2What an auditor asks for

    Ask for

    A harmless test Java applet signed with a trusted code-signing certificate and hosted on an internet site, opened on sampled devices that have Java installed, in each browser and compatibility mode.

    Look at

    Whether the applet runs, or whether a prompt or setting lets the person run it.

    Good evidence

    The internet-hosted applet does not run in any browser or mode, and no prompt or setting lets the person allow it.

Mappings

Closest match in ASD Essential Eight: E8-AH-ML1.2, Web browsers must not execute Java content from the internet, which asks for the same thing.

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.8.7Protection against malwarePartially meets
Essential Eight

ASD Essential Eight: 3 mappings

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.