Skip to content
Access control Write-up Advanced

Pwn2Own 2019: Microsoft Edge Sandbox Escape (CVE-2019-0938). Part 2

A logical vulnerability in Microsoft Edge's sandbox allowed a content process to send messages that were meant only for internal use within the Manager process, enabling the forging of user clicks to download and run an arbitrary binary. An attacker could exploit this to execute code with Medium Integrity Level.

blog.exodusintel.com

Published on blog.exodusintel.com

MAY 27, 2019 Vulnerability Analysis, Exploit Techniques

Exodus Intel VRT, on blog.exodusintel.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The Manager process did not properly validate the origin of certain IPC messages, allowing a content process to send messages that should only be internal to the Manager process.

Impact

An attacker could execute arbitrary code with Medium Integrity Level, but the exploit requires the user to interact with a download notification bar and may be blocked by SmartScreen unless the download originates from a file:// URL.

What the attacker needed

Victim uses Microsoft Edge; victim visits malicious page; user clicks 'Run' on download

The fix

The vulnerability was patched by Microsoft in the May updates.

How it was found

  1. Change the location origin of the current document to a file:// URL.
  2. Execute JavaScript that fetches a file and offers it as a download.
  3. Post a message to the Manager process that triggers the file to be run.
  4. Restore the original location.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Microsoft Edge uses a sandbox to keep web content isolated from the rest of the system. This report found that a malicious web page could trick the browser into thinking the user had clicked 'Run' on a downloaded file, allowing it to launch an executable. The attacker could then run code with the same permissions as the user.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.