CVE-2024-31214CWE-434

Traccar's unrestricted file upload vulnerability in device image upload could lead to remote code execution

Critical · published April 10, 2024

CVSS v3.1
9.7
EPSS
18%
Percentile
97.1
In the wild
Unconfirmed
What it is

🔥 An open file upload vulnerability in Traccar can turn your GPS tracking system into a playground for attackers! ⚡ Think of this as a restaurant that allows anyone to send in their own menu items without any vetting — attackers can serve up whatever they want right in your kitchen! With this vulnerability, a malicious actor could upload files that execute code, leading to remote control of your system. It’s like handing over the keys to your entire operation, where they could steal data, cause denial of service, or even set off a chain reaction of chaos. This could be absolutely devastating!

Put simply

Think of this as a restaurant that allows anyone to send in their own menu items without any vetting — attackers can serve up whatever they want right in your kitchen! This vulnerability allows arbitrary file uploads through the device image upload API in Traccar versions 5.1 to 5.12, giving attackers control over file contents and paths, particularly dangerous as Traccar runs with root privileges by default.

What to do

With this vulnerability, a malicious actor could upload files that execute code, leading to remote control of your system. It’s like handing over the keys to your entire operation, where they could steal data, cause denial of service, or even set off a chain reaction of chaos. This could be absolutely devastating! Immediately upgrade to Traccar version 6.0 to patch this vulnerability. If an upgrade isn't possible, disable self-registration to block unauthorized access and tighten file upload controls. Regularly audit accounts and permissions to further enhance security. You’ve got this! Take these steps and you’ll have your system secured in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.7 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.17631 · 97.1th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2024-04-10T17:20Z
EPSS history
Timeline
  • 10 APR 17:20Z
    Traccar's unrestricted file upload vulnerability in device image upload could lead to remote code execution
    cvelistv5