Skip to content
Open redirect Advisory Advanced CVE-2022-1230

(Pwn2Own) Samsung Galaxy S21 loadUrl Open Redirect Privilege Escalation Vulnerability

The Samsung Galaxy S21's handling of redirections in loadUrl allows a local attacker to force a redirection to a malicious site. This can be chained with other vulnerabilities to escalate privileges and execute arbitrary code.

Sam Thomas Follow

Originally disclosed on Zero Day Initiative

This vulnerability allows local attackers to execute arbitrary code on affected installations of Samsung Galaxy S21 phones. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Sam Thomas (@_s_n_t) of Pentest Ltd (@pentestltd), 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 loadUrl function does not properly validate or restrict redirects, allowing a malicious site to be loaded.

Impact

An attacker could escalate privileges and execute arbitrary code, but only if they already have low-privileged code execution on the device.

What the attacker needed

Low-privileged code execution on device

The fix

Samsung has issued an update to correct this vulnerability.

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 how a phone's web component handles redirects. An attacker who already has limited access to the phone can make it open a malicious website, which could then be used to take over more of the device.

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 Sam Thomas

View all

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