Arbitrary file write via unsanitized transfer path
Published Dec 3, 2024 · Updated Dec 3, 2024
Path traversal in affected Samsung Quick Share Agent builds allows adjacent attackers to write transferred files to arbitrary locations. The s(JSONObject) transfer parser trusts attacker-controlled IsPrivateShare, skips Path sanitization, and uses traversal segments during folder creation. A nearby Samsung phone transferring a folder can write within directories available to the agent; affected builds precede 3.5.14.47 on Android 12, 3.5.19.41 on Android 13, and 3.5.19.42 on Android 14.
Summary
What happened
Path traversal in affected Samsung Quick Share Agent builds allows adjacent attackers to write transferred files to arbitrary locations. The s(JSONObject) transfer parser trusts attacker-controlled IsPrivateShare, skips Path sanitization, and uses traversal segments during folder creation. A nearby Samsung phone transferring a folder can write within directories available to the agent; affected builds precede 3.5.14.47 on Android 12, 3.5.19.41 on Android 13, and 3.5.19.42 on Android 14.
The record
- CVE
- CVE-2024-49421
- Published
- Dec 3, 2024
- Updated
- Dec 3, 2024
- Vendor
- Samsung Electronics
- Product
- Quick Share Agent
- Classifications
- CWE-22, T1105
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 3, 2024CVE publishedPublication date reported by the CVE source.
- Dec 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Affected versions are unavailable in this record. Check the vendor advisory for version and patch details.
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Pwn2Own Ireland 2024 Samsung S24 attack chainfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- Pwn2Own Ireland 2024 Samsung S24 exploit chainexploit chain
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo