Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-24809 PoC — Traccar 安全漏洞

Source
Associated Vulnerability
Title:Traccar 安全漏洞 (CVE-2024-24809)
Description:Traccar是美国Traccar公司的一个基于Java的可提供GPS跟踪功能的建站系统。该软件支持170多种GPS协议和1500多种型号的GPS跟踪设备。Traccar可以与任何主要的SQL数据库系统一起使用。它还提供了易于使用的REST API。 Traccar 5.12及之前版本存在安全漏洞,该漏洞源于容易受到路径遍历和危险类型文件无限制上传的影响,攻击者可以通过注册账户获取普通用户权限,并利用该漏洞上传任意文件。
Description
Critical Flaws in Traccar GPS System Expose Users to Remote Attacks
Readme
### CVE-2024-24809 Detail

#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.

#usage
```bash
Fofa query : app="traccar"
```
```bash
nuclei --target {target.com} -t CVE-2024-24809.yaml
```
#Proof of concept (using burpsuite)
```bash
POST /api/users HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded;charset=UTF-8

{"name": "{{name}}", "email": "{{email}}", "password": "{{password}}", "totpKey": null}
```
#Testing account
```bash
name: "ghostsec"
password: "ghostsec"
email: "ghostsec@ghostsec.com"
```

### How to fix?
Upgrade org.traccar:traccar to version 6.0 or higher.
File Snapshot

[4.0K] /data/pocs/125d3b4a6f753197b50f206afce42aea874d60ef ├── [4.4K] CVE-2024-24809.yaml ├── [3.8K] poc.py └── [1.1K] README.md 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.