CRITICAL🇵🇱 Wersja polska

CVE-2024-31214

CVSS 9.6v3.1pub. 2024-04-10upd. 2025-01-09

Traccar is an open source GPS tracking system. Traccar versions 5.1 through 5.12 allow arbitrary files to be uploaded through the device image upload API. Attackers have full control over the file contents, full control over the directory where the file is stored, full control over the file extension, and partial control over the file name. While it's not for an attacker to overwrite an existing file, an attacker can create new files with certain names and attacker-controlled extensions anywhere on the file system. This can potentially lead to remote code execution, XSS, DOS, etc. The default install of Traccar makes this vulnerability more severe. Self-registration is enabled by default, allowing anyone to create an account to exploit this vulnerability. Traccar also runs by default with root/system privileges, allowing files to be placed anywhere on the file system. Version 6.0 contains a fix for the issue. One may also turn off self-registration by default, as that would make most vulnerabilities in the application much harder to exploit by default and reduce the severity considerably.

🤖 AI Analysis
How it works

The attacker uses the API to upload device images (device image upload API), gaining full control over the file content, its extension, and the target directory on the server, as well as partial control over the file name. Although overwriting existing files is not possible, the attacker can create new files with arbitrary extensions in any location of the file system. In the default Traccar installation, the application runs with root/system privileges, enabling file writing to any location. Additionally, self-registration is enabled by default, allowing any anonymous user to create an account and immediately exploit this vulnerability.

Impact

An attacker can achieve remote code execution (RCE), conduct XSS attacks, or trigger denial of service (DoS) by placing malicious files anywhere in the server's file system.

Mitigation & patch

Traccar should be updated to version 6.0, which contains a fix for this vulnerability. As additional remedial measures, it is recommended to disable user self-registration and run the application with limited system privileges instead of root/system accounts, which significantly complicates vulnerability exploitation.

Who is affected

Traccar in versions 5.1 through 5.12 (inclusive)

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
  • Traccar

    APP
    Traccar
    5.1 – 5.12
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
RCEXSS
CWE
References

Related vulnerabilities

CVE-2024-7746CRITICAL9.5PL ✓same product

Traccar Server – pominięcie uwierzytelnienia przez domyślne dane logowania

CVE-2026-25649HIGH7.3same product

Versions of the Traccar open-source GPS tracking system up to and including 6.11.1 contain an issue in which a...

CVE-2026-25648HIGH8.7same product

Versions of the Traccar open-source GPS tracking system starting with 6.11.1 contain an issue in which authent...

CVE-2025-68930HIGH7.1same product

Versions of the Traccar open-source GPS tracking system up to and including 6.11.1 contain a Cross-Site WebSoc...

CVE-2023-50729HIGH8.4same product

Traccar is an open source GPS tracking system. Prior to 5.11, Traccar is affected by an unrestricted file uplo...