Skip to content
Open redirect Advisory Advanced

(Pwn2Own) Samsung Galaxy S21 Improper Error Handling Remote Code Execution Vulnerability

The Samsung Galaxy S21 browser mishandled errors when accessing trusted URLs, allowing an attacker to force a redirect from HTTPS to HTTP. This could let an attacker execute arbitrary code in the context of the current user.

TBD Follow

Originally disclosed on Zero Day Initiative

Medium 4.6 View original

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Samsung Galaxy S21 phones. User interaction is required to exploit this vulnerability in that the target must visit a malicious page.

TBD, on the Zero Day Initiative

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

How it worked

Root cause

Likely, the browser did not properly validate or handle errors when loading trusted URLs, permitting a redirect from HTTPS to HTTP.

Impact

A network-adjacent attacker could execute arbitrary code on the phone if the user visits a malicious page.

What the attacker needed

Network-adjacent attacker; victim visits a malicious page

The fix

The vulnerability was fixed by a server-side patch applied on 30 November 2021.

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.

This is a bug in the web browser on a Samsung phone. Normally, secure HTTPS pages should not be silently downgraded to insecure HTTP. The flaw let an attacker trick the browser into making that downgrade, and from there run their own code on the phone.

What is Open redirect?

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.

More by TBD

View all

2 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.