nday
GHSA-7m8x-x364-m26j

Signal K Server: Buffered logs exposed to unauthenticated WebSocket clients

披露于 。已有补丁记录,修复版本是 signalk-server 2.31.0-beta.1。四个 PoC 来源都还没有收录。尚未列入 CISA KEV。

标签 漏洞类型authentication bypass 攻击途径远程未授权网络无需认证无需用户交互 软件包生态npm
这些标签的依据

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

authentication bypass
CWE-306(来源:GitHub 公告 GHSA-7m8x-x364-m26j)
远程未授权
GitHub 公告 GHSA-7m8x-x364-m26j 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N(CVSS 3.1)中的 AV:N、PR:N、UI:N
网络
GitHub 公告 GHSA-7m8x-x364-m26j 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N(CVSS 3.1)中的 AV:N
无需认证
GitHub 公告 GHSA-7m8x-x364-m26j 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N(CVSS 3.1)中的 PR:N
无需用户交互
GitHub 公告 GHSA-7m8x-x364-m26j 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N(CVSS 3.1)中的 UI:N
npm
GHSA-7m8x-x364-m26j:npm 包 signalk-server
当前阶段
PAT
披露
CVSS
5.3 MEDIUM v3.1

生命周期

横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
11-12T19:14Z
PAT补丁
signalk-server 2.31.0-beta.1
ANA分析
尚无记录
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录

摘要

### Summary

An unauthenticated WebSocket client can subscribe to the log path and receive buffered server logs.

WebSocket connections are intentionally permitted before authentication because login occurs over the WebSocket connection. However, the log subscription path does not enforce an authorization check.

processSubscribe handles subscriptions to the log path separately, without applying access control:

if (
  Array.isArray(msg.subscribe) &&
  msg.subscribe.length > 0 &&
  msg.subscribe[0].path === 'log'
) {
  if (!spark.logUnsubscribe) {
    spark.logUnsubscribe = startServerLog(app, spark)
  }
} else {
  // normal subscriptions go through subscriptionmanager, which applies
  // securityStrategy.filterReadDelta
}

startServerLog then replays the whole buffer to that socket:

app.logging.getLog().forEach((log) => {
  spark.write({ type: 'LOG', data: log })
})

The asymmetry is inside this one file. Writes are gated by securityStrategy.shouldAllowWrite (ws.ts:961), normal delta subscriptions are filtered by securityStrategy.filterReadDelta (ws.ts:1159, the else branch of this same function), and the log branch consults neither.

An unauthenticated socket, which is legitimately open for login, can subscribe to log and receive buffered server logs.

Fix: Requires an administrator principal, before startServerLog, in the same way the other branch defers to securityStrategy. The fix was released with version 2.31.0-beta.1.

The investigated code path was reviewed at commit 26ab199. No server was run and no WebSocket frames were captured. AI assistance was used during the investigation.

以上是 GitHub 安全公告 GHSA-7m8x-x364-m26j 中的原文,未经改写。

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:N
网络:攻击者只要能通过网络访问到目标即可
攻击复杂度 AC:L
低:不依赖特殊条件,攻击者可预期重复成功
所需权限 PR:N
无:不需要账号或授权
用户交互 UI:N
无:除攻击者外不需要任何人配合

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

CVSS 3.1 向量,来自 GitHub 安全公告 GHSA-7m8x-x364-m26j。

事件记录

+DIS披露

ghsa 报告了披露事件。

来源 ghsa · 本站 批量导入 · 原始记录
{
  "id": 473988,
  "type": "disclosed",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-7m8x-x364-m26j",
  "occurred_at": "2026-11-12T19:14:00Z",
  "observed_at": "2026-11-16T19:07:30.503253Z",
  "is_backfill": true,
  "dedupe_key": "GHSA-7m8x-x364-m26j",
  "detail": {
    "state": "PUBLISHED",
    "ghsa_id": "GHSA-7m8x-x364-m26j",
    "withdrawn_at": null
  }
}
时间未知来源未给出时间
+PAT补丁发布

公告给出修复版本 signalk-server 2.31.0-beta.1。公告附有修复提交。公告本身发布于 ,补丁实际发布时间没有记录。

来源 ghsa · 本站 批量导入 · 原始记录
{
  "id": 473989,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-7m8x-x364-m26j",
  "occurred_at": null,
  "observed_at": "2026-11-16T19:07:30.503253Z",
  "is_backfill": true,
  "dedupe_key": "GHSA-7m8x-x364-m26j",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 5.3,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Missing Authentication for Critical Functionality",
        "cwe_id": "CWE-306"
      }
    ],
    "ghsa_id": "GHSA-7m8x-x364-m26j",
    "packages": [
      {
        "name": "signalk-server",
        "ecosystem": "npm",
        "first_patched_version": "2.31.0-beta.1",
        "vulnerable_version_range": "< 2.31.0-beta.1"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/SignalK/signalk-server/security/advisories/GHSA-7m8x-x364-m26j",
      "https://github.com/SignalK/signalk-server/commit/1bee85114a4cb7403aba71632d9902792d6b4f0c",
      "https://github.com/SignalK/signalk-server/releases/tag/v2.31.0",
      "https://github.com/SignalK/signalk-server/releases/tag/v2.31.0-beta.1",
      "https://github.com/advisories/GHSA-7m8x-x364-m26j"
    ],
    "fix_commit_urls": [
      "https://github.com/SignalK/signalk-server/commit/1bee85114a4cb7403aba71632d9902792d6b4f0c"
    ],
    "github_reviewed_at": "2026-11-12T19:14:00Z",
    "advisory_updated_at": "2026-11-12T19:14:01Z",
    "source_code_location": "https://github.com/SignalK/signalk-server",
    "advisory_published_at": "2026-11-12T19:14:00Z"
  }
}

纠错

报告错误或缺失

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

讨论

0 条评论

还没有评论。