(Pwn2Own) Samsung Galaxy S9 Untrusted Site Redirection Remote Code Execution Vulnerability
The captive portal on the Samsung Galaxy S9 mishandled HTML in a way that let an attacker force a page redirection. An attacker could then run code in the context of the current process, but the victim had to connect to a wireless network first.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Samsung Galaxy S9. User interaction is required to exploit this vulnerability in that the target must connect to a wireless network.
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 captive portal rendered attacker-influenced HTML without properly restricting navigation or script execution.
Impact
An attacker could execute arbitrary code on the device, but only after the target connects to a wireless network the attacker controls or influences.
What the attacker needed
Victim connects to attacker-influenced Wi-Fi; Samsung Galaxy S9 on unpatched firmware
The fix
It was fixed in the January 2019 security update.
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 captive portal is the page a phone shows when it joins a Wi-Fi network, asking you to log in or accept terms. Here that page could be tricked into sending the phone to a page the attacker controls, and from there the attacker could run their own code on the device. The victim has to join a network the attacker influences for this to work.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.