Skip to content
CORS Advisory Advanced CVE-2017-0140

Microsoft Edge Security Feature Bypass Vulnerability (CVE-2017-0140)

Microsoft Edge mishandled requests of different origins, letting a page bypass Same-Origin Policy restrictions. An attacker could host a crafted site and convince a user to visit it, forcing the browser to send data that should have been restricted.

Yorick Koster Follow

Originally disclosed on Microsoft

High 4.2 View original

Description

A security feature bypass vulnerability exists when Microsoft Edge improperly handles requests of different origins. The vulnerability allows Microsoft Edge to bypass Same-Origin Policy (SOP) restrictions, and to allow requests that should otherwise be ignored. An attacker who successfully exploited the vulnerability could force the browser to send data that would otherwise be restricted. In a web-based attack scenario, an attacker could host a specially crafted website that is designed to exploit the vulnerability through Microsoft Edge and then convince a user to view the website. The attacker could also take advantage of compromised websites, and websites that accept or host user-provided content or advertisements. These websites could contain specially crafted content that could exploit the vulnerability. The security update addresses the vulnerability by modifying how affected Microsoft Edge handles different-origin requests.

Microsoft Edge (HTML-based)

Microsoft Edge (HTML-based)

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Yorick Koster of Securify B.V.. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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

How it worked

Root cause

Likely Edge did not correctly enforce origin checks when handling cross-origin requests, so requests that should have been blocked were processed.

Impact

An attacker could force the browser to send data that would otherwise be restricted, but only if the victim used Edge and visited attacker-controlled or compromised content.

What the attacker needed

Victim uses Microsoft Edge; victim visits a crafted or compromised site

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 report has not been written yet. The Original tab links to the source.

Websites are normally kept apart by a browser rule called the Same-Origin Policy, which stops one site from reading or sending data to another site on your behalf. Here Edge did not apply that rule properly, so a malicious page could make the browser send information it should have blocked. The attacker only needed the victim to open a booby-trapped web page in Edge.

What is CORS?

A permissive cross-origin policy lets another site read responses with the user's credentials.

More by Yorick Koster

View all

3 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

CORS misconfiguration

The lesson behind this report.

A permissive cross-origin policy lets another site read responses with the user's credentials.