(Pwn2Own) Samsung Galaxy S10 Call Control Setup Stack-based Buffer Overflow Remote Code Execution Vulnerability
The Call Control Setup message handling in the Samsung Galaxy S10 baseband processor copies user-supplied data into a fixed-length stack buffer without checking its length. A remote attacker could send a crafted call that, once the target answers, may allow arbitrary code execution in the baseband processor.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Samsung Galaxy 10. User interaction is required to exploit this vulnerability in that the target must answer a phone call.
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 a missing length check before copying attacker-controlled Call Control Setup data into a fixed-size stack buffer.
Impact
An attacker could execute arbitrary code in the context of the baseband processor, but only if the victim answers the call.
What the attacker needed
Victim answers a phone call; attacker can send crafted call setup messages
The fix
Samsung issued an update to correct the 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.
A buffer is a small reserved area of memory. If a program copies more data into it than it can hold, the extra data spills over into neighbouring memory, which can let an attacker change how the program behaves. Here the phone's radio chip mishandles a special call setup message, so answering a malicious call could let the caller run their own code on that chip.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.