Arbitrary file writes via path traversal
Published Jan 4, 2024 · Updated Apr 17, 2025
Path traversal in the file manager on affected Samsung Mobile Devices allows local users to write arbitrary files outside intended directories. FileUriConverter converts an attacker-controlled file URI without confining the resulting path to the intended directory before the file-write operation. Affected devices run Android 11 or 12 before SMR Jan-2024 Release 1, or the file-manager app before 14.5.00.21 on Android 13; no prior privileges or user interaction are required.
Summary
What happened
Path traversal in the file manager on affected Samsung Mobile Devices allows local users to write arbitrary files outside intended directories. FileUriConverter converts an attacker-controlled file URI without confining the resulting path to the intended directory before the file-write operation. Affected devices run Android 11 or 12 before SMR Jan-2024 Release 1, or the file-manager app before 14.5.00.21 on Android 13; no prior privileges or user interaction are required.
The record
- CVE
- CVE-2024-20804
- Published
- Jan 4, 2024
- Updated
- Apr 17, 2025
- Vendor
- Samsung Electronics Co., Ltd.
- Product
- Samsung Mobile Devices
- Classifications
- CWE-22
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 4, 2024CVE publishedPublication date reported by the CVE source.
- Apr 17, 2025Record 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
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
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