nday
CVE-2024-31214 GHSA-3gxq-f2qj-c8v9

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

traccar / traccar

披露于 。本站尚未获取修复依据,不能据此认为没有补丁。PoC 来源中 metasploit 已收录(1/4)。尚未列入 CISA KEV。

标签 漏洞类型unrestricted file upload 攻击途径网络无需认证 利用情况Metasploit
这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

unrestricted file upload
CWE-434(来源:编号分配方 GitHub_M、NVD 分析人员、NVD(转录自 [email protected]))
网络
编号分配方 GitHub_M 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H(CVSS 3.1)中的 AV:N
无需认证
编号分配方 GitHub_M 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H(CVSS 3.1)中的 PR:N
Metasploit
Metasploit 模块 exploit/linux/http/traccar_rce_upload
当前阶段
POC
披露
CVSS
9.7 CRITICAL v3.1

生命周期

横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
2024-04-10T17:20Z
PAT补丁
尚无记录
ANA分析
尚无记录
POCPoC
metasploit
ITW在野
尚无记录
KEVKEV
尚无记录

摘要

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.

以上是 CVE 记录(cvelist)中的原文,未经改写。

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:N
网络:攻击者只要能通过网络访问到目标即可
攻击复杂度 AC:L
低:不依赖特殊条件,攻击者可预期重复成功
所需权限 PR:N
无:不需要账号或授权
用户交互 UI:R
需要:须有用户执行某个操作,例如打开文件或点击链接

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

CVSS 3.1 向量,来自 CVE 记录,由 CNA GitHub_M 评定。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 GitHub_M。CVSS 9.7,严重。CISA 的 SSVC 评估中利用状态为 poc。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "id": 59890,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2024-31214",
  "occurred_at": "2024-04-10T17:20:55.407Z",
  "observed_at": "2026-11-12T17:00:49.411818Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 9.7,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2024-07-19T13:24:33.179847Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2024-04-10T17:20:55.407Z",
    "assigner_short_name": "GitHub_M"
  }
}
时间未知来源未给出时间
+POC公开 PoC

Metasploit 收录模块 exploit/linux/http/traccar_rce_upload(Traccar v5 Remote Code Execution (CVE-2024-31214 and CVE-2024-24809))。来源没有给出模块的发布时间。

来源 metasploit exploit/linux/http/traccar_rce_upload · 本站 批量导入 · 原始记录
{
  "id": 50768,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/traccar_rce_upload.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/linux/http/traccar_rce_upload",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/traccar_rce_upload.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/linux/http/traccar_rce_upload.rb",
    "rank": 600,
    "check": true,
    "title": "Traccar v5 Remote Code Execution (CVE-2024-31214 and CVE-2024-24809)",
    "cve_ids": [
      "CVE-2024-31214",
      "CVE-2024-24809"
    ],
    "fullname": "exploit/linux/http/traccar_rce_upload",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-04-22 11:55:15 +0000",
    "vuln_disclosure_date": "2024-08-23"
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。