Exploit database

Vulnerability

CVE-2024-24809

Traccar vulnerable to Path Traversal: 'dir/../../filename' and Unrestricted Upload of File with Dangerous Type

Vulnerability details

Score
8.5
Severity
high

CVSS 3.1 · GitHub_M

Vector string

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L

Description

Traccar is an open source GPS tracking system. Versions prior to 6.0 are vulnerable to path traversal and unrestricted upload of file with dangerous type. Since the system allows registration by default, attackers can acquire ordinary user permissions by registering an account and exploit this vulnerability to upload files with the prefix `device.` under any folder. Attackers can use this vulnerability for phishing, cross-site scripting attacks, and potentially execute arbitrary commands on the server. Version 6.0 contains a patch for the issue.

CVE Program

Exploit source choices

3 sources
Palo Alto Expedition Remote Code Execution (CVE-2024-5910 and CVE-2024-9464)
MSF-linux--http--paloalto_expedition_rceMetasploitLinux,Unix / remotePreferred

Obtain remote code execution in Palo Alto Expedition version 1.2.91 and below. The first vulnerability, CVE-2024-5910, allows to reset the password of the admin user, and the second vulnerability, CVE-2024-9464, is an authenticated OS command injection. In a default installation, commands will get executed in the context of www-data. When credentials are provided, this module will only exploit the second vulnerability. If no credentials are provided, the module will first try to reset the admin password and then perform the OS command injection.

2024-10-09paloalto_expedition_rce.rb
Traccar v5 Remote Code Execution (CVE-2024-31214 and CVE-2024-24809)
MSF-linux--http--traccar_rce_uploadMetasploitLinux / remote

Remote Code Execution in Traccar v5.1 - v5.12. Remote code execution can be obtained by combining two vulnerabilities: A path traversal vulnerability (CVE-2024-24809) and an unrestricted file upload vulnerability (CVE-2024-31214). By default, the application allows self-registration, enabling any user to register an account and exploit the issues. Moreover, the application runs by default with root privileges, potentially resulting in a complete system compromise. This module, which should work on any Red Hat-based Linux system, exploits these issues by adding a new cronjob file that executes the specified payload.

2024-08-23traccar_rce_upload.rb
gh-ost00/cve-2024-24809-proof-of-concept
GH-5d22fb15a8524e3da7c53cd6408a2252GitHubUnofficial GitHub source

Critical Flaws in Traccar GPS System Expose Users to Remote Attacks

2024-09-033 files · 5 stars