nday
CVE-2025-58180 GHSA-49mj-x8jp-qvfc

OctoPrint is Vulnerable to RCE Attacks via Unsanitized Filename in File Upload

OctoPrint / OctoPrint

披露后第 148 天出现公开 PoC。本站尚未获取修复依据,不能据此认为没有补丁。PoC 来源中 exploitdb 已收录(1/4)。尚未列入 CISA KEV。

标签 漏洞类型command injection 攻击途径相邻网络无需用户交互 利用情况Exploit-DB
这些标签的依据

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

command injection
CWE-78(来源:编号分配方 GitHub_M、NVD(转录自 [email protected]))
相邻网络
编号分配方 GitHub_M 给出的 CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N(CVSS 4.0)中的 AV:A
无需用户交互
编号分配方 GitHub_M 给出的 CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N(CVSS 4.0)中的 UI:N
Exploit-DB
Exploit-DB 条目 52476
当前阶段
POC
披露
披露到公开 PoC
T+148d POC 为日精度
CVSS
7.5 HIGH v4.0

生命周期

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

摘要

OctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including 1.11.2 contain a vulnerability that allows an authenticated attacker to upload a file under a specially crafted filename that will allow arbitrary command execution if said filename becomes included in a command defined in a system event handler and said event gets triggered. If no event handlers executing system commands with uploaded filenames as parameters have been configured, this vulnerability does not have an impact. The vulnerability is patched in version 1.11.3. As a workaround, OctoPrint administrators who have event handlers configured that include any kind of filename based placeholders should disable those by setting their enabled property to False or unchecking the "Enabled" checkbox in the GUI based Event Manager. Alternatively, OctoPrint administrators should set feature.enforceReallyUniversalFilenames to true in config.yaml and restart OctoPrint, then vet the existing uploads and make sure to delete any suspicious looking files. As always, OctoPrint administrators are advised to not expose OctoPrint on hostile networks like the public internet, and to vet who has access to their instance.

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

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:A
相邻网络:只能从邻近网络发起,例如同一局域网网段或蓝牙范围内
攻击复杂度 AC:L
低:不需要绕过目标特有的安全防护
攻击前提 AT:P
有:依赖特定的部署或运行条件,例如竞态条件、非默认配置或处于网络路径中间
所需权限 PR:L
低:普通用户权限
用户交互 UI:N
无:除攻击者外不需要任何人配合

CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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

事件记录

+DIS披露

CVE 记录发布,编号分配方是 GitHub_M。CVSS 7.5,高危。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "id": 58761,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-58180",
  "occurred_at": "2025-09-09T19:34:14.765Z",
  "observed_at": "2026-11-12T16:27:38.849571Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "version": "4.0",
      "base_score": 7.5,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2025-09-10T13:59:03.369589Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-09-09T19:34:14.765Z",
    "assigner_short_name": "GitHub_M"
  }
}
2026-02-04日精度,来源给出
+POC公开 PoC

Exploit-DB 收录公开利用代码《OctoPrint 1.11.2 - File Upload》(EDB-52476)。

来源 exploitdb 52476 · 本站 批量导入 · 原始记录
{
  "id": 27990,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/52476",
  "occurred_at": "2026-02-04T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "52476",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/52476",
    "file": "exploits/multiple/webapps/52476.txt",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "OctoPrint 1.11.2 - File Upload",
    "author": "prabhat",
    "edb_id": 52476,
    "cve_ids": [
      "CVE-2025-58180"
    ],
    "platform": "multiple",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2026-02-04",
    "date_updated": "2026-02-04",
    "date_published": "2026-02-04"
  }
}

纠错

报告错误或缺失

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

研究员讨论

近 7 天有 0 位研究员提到

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

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

讨论

0 条评论

还没有评论。