Skip to content
Open redirect Advisory Advanced

(Pwn2Own) Samsung Galaxy S21 Open Redirect Remote Code Execution Vulnerability

The Galaxy Store app on Samsung Galaxy S21 phones allowed an attacker to manipulate client-side HTML and redirect the web view to an arbitrary site. This could lead to remote code execution with root privileges, though user interaction was required.

Sam Thomas Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote 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 or open a malicious file.

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 insufficient validation of client-side HTML or URL redirection within the Galaxy Store web view, allowing an attacker to redirect to an arbitrary site.

Impact

An attacker could execute arbitrary code with root privileges on the affected Samsung Galaxy S21 phones, but the victim must visit a malicious page or open a malicious file.

What the attacker needed

Samsung Galaxy S21 phone; victim visits malicious page or opens file

The fix

The vulnerability was fixed by a server-side patch applied on November 9th, 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.

A web view is a component inside a mobile app that displays web pages. The Galaxy Store app did not properly check where it was sending users, so an attacker could trick it into loading a malicious site. That malicious site could then run code with the highest level of permission on the phone, called root.

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.