Authenticated arbitrary file upload via device identifier traversal
Published Apr 10, 2024 · Updated Aug 1, 2024
Path traversal in Traccar Server before 6.0 allows remote authenticated users to write uploaded files outside the media directory. The uploadImage endpoint uses a device-controlled uniqueId as the storage path and derives the file extension directly from the supplied image subtype. An ordinary account can exploit the flaw, and default registration exposes that gate to remote attackers; placing HTML in the web root enables phishing or stored XSS, while command execution depends on server-side handling.
Summary
What happened
Path traversal in Traccar Server before 6.0 allows remote authenticated users to write uploaded files outside the media directory. The uploadImage endpoint uses a device-controlled uniqueId as the storage path and derives the file extension directly from the supplied image subtype. An ordinary account can exploit the flaw, and default registration exposes that gate to remote attackers; placing HTML in the web root enables phishing or stored XSS, while command execution depends on server-side handling.
The record
- CVE
- CVE-2024-24809
- Published
- Apr 10, 2024
- Updated
- Aug 1, 2024
- Vendor
- Traccar
- Product
- Traccar Server
- Classifications
- CWE-27, CWE-434, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 10, 2024CVE publishedPublication date reported by the CVE source.
- Aug 1, 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?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 6.0
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
- Traccar upload traversal proof of conceptfunctional · demonstrated
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