(Pwn2Own) Samsung Galaxy S24 Quick Share Directory Traversal Arbitrary File Write Vulnerability
The Quick Share app on the Samsung Galaxy S24 did not properly validate a user-supplied path before using it in file operations. A network-adjacent attacker who could already perform activities on the device could create arbitrary files as the current user.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to create arbitrary files on affected installations of Samsung Galaxy S24. An attacker must first obtain the ability to perform activities on the target device.
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 app joined or trusted an externally supplied path without normalising it or confirming it stayed within the intended directory before writing.
Impact
A network-adjacent attacker with existing ability to perform activities on the device could create arbitrary files as the current user; the text does not claim code execution or data theft.
What the attacker needed
Network-adjacent access; ability to perform activities on device
The fix
Samsung issued an update that corrects 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.
Quick Share is Samsung's file-sharing feature, similar to AirDrop. The app took a file path from outside and used it without checking it stayed inside the intended folder, so a crafted path could point somewhere else and let files be written there. The attacker also needed some existing ability to act on the phone, so this was not a remote takeover from nothing.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.