Skip to content

Microsoft Edge adds protection to make Mojo sandbox escapes harder

New Chromium protection prevents attackers from enabling MojoJS in a compromised renderer to escape the sandbox.

Reported by microsoftedge.github.io

Summary updated

Read the coverage
Public PoC
Not known
Exploited
Not known
Severity
Not rated

What happened

Microsoft Edge introduced a new security protection in Edge and other Chromium-based browsers that blocks attackers from enabling MojoJS in a compromised renderer to escape the sandbox.1

Previously, an attacker with an arbitrary read/write primitive could flip a RenderFrame property to enable MojoJS and call Mojo interfaces in the browser process.1

The new protection adds a read-only Boolean property for the renderer process; if an attacker tries to change it, the process crashes.1

The change was contributed to the Chromium Project in two change lists.1

Who is affected

  • Microsoft Edge and other Chromium-based browsers1

Is there a public exploit?

Not known None of the sources mentions public exploit code yet.

Exploited in the wild?

Not known None of the sources reports attacks using it so far.

For bug hunters

This event concerns a sandbox escape technique in Chromium-based browsers, where a renderer compromise is leveraged to enable privileged JavaScript bindings. Bug bounty hunters should look for renderer exploits that provide arbitrary read/write, as these are the prerequisite for such escapes. In programs that accept browser exploits, focus on memory corruption bugs in the renderer that can be turned into read/write primitives. Also consider testing whether similar protected memory mechanisms can be bypassed or whether other privileged flags are left unprotected.

What to test

  • Look for use-after-free or type confusion bugs in renderer JavaScript engines that could yield read/write.
  • Test whether renderer process flags or properties can be modified from JavaScript after a compromise.
  • Check if MojoJS or similar debugging features can be enabled via command-line or environment variables in production builds.
  • Review Chromium change lists for ProtectedMemory usage and test for bypasses in other components.

The Memory corruption lesson Every Memory corruption report

Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.

Coverage

The article this story is based on. Each headline opens the outlet's own article.

  1. 1

    microsoftedge.github.io

    Making Mojo Exploits More Difficult
    “Today, we’re excited to announce a new security protection in Microsoft Edge and other Chromium-based browsers that defends against attackers being able to leverage an…”

Disclosed reports for Microsoft

View all

The newest public reports from its bug bounty program.

Reports about Memory corruption

View all

Disclosed reports of the same bug class, clearest first.

More news

View all

Other stories from the last month, Memory corruption first.