Skip to content
CORS Advisory Intermediate CVE-2018-8358

Microsoft Edge Security Feature Bypass Vulnerability (CVE-2018-8358)

Microsoft Edge improperly handled redirect requests, allowing it to bypass CORS redirect restrictions and follow redirects that should be ignored. An attacker could force the browser to send data to a destination of their choice, potentially leaking information that should be restricted.

dannywei Follow

Originally disclosed on Microsoft

High 4.7 View original

Description

A security feature bypass vulnerability exists when Microsoft Edge improperly handles redirect requests. The vulnerability allows Microsoft Edge to bypass Cross-Origin Resource Sharing (CORS) redirect restrictions, and to follow redirect 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 to a destination website of the attacker's choice. 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 redirect requests.

Microsoft Edge

Microsoft Edge

The original report as published on the Microsoft Security Response Center, by dannywei of Tencent Security Xuanwu Lab. 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 CORS restrictions when handling redirect responses, allowing redirects that should have been blocked.

Impact

An attacker could force the browser to send data that would otherwise be restricted to a destination website of the attacker's choice, but only if the victim uses Microsoft Edge and visits a malicious or compromised page.

What the attacker needed

Victim uses Microsoft Edge; victim visits a malicious or compromised page

The fix

The security update addresses the vulnerability by modifying how affected Microsoft Edge handles redirect requests.

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 use a rule called CORS to stop one site from reading data from another site without permission. This bug meant Edge would follow certain redirects that should have been blocked, so a malicious page could trick the browser into sending data to the attacker. The attacker only needed the victim to visit a crafted page.

What is CORS?

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

More by dannywei

View all

2 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.