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。

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

authentication bypass
CWE-306, stated by GitHub advisory GHSA-7m8x-x364-m26j
remote, unauthenticated
AV:N、PR:N、UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1) from GitHub advisory GHSA-7m8x-x364-m26j
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1) from GitHub advisory GHSA-7m8x-x364-m26j
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1) from GitHub advisory GHSA-7m8x-x364-m26j
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1) from GitHub advisory GHSA-7m8x-x364-m26j
npm
GHSA-7m8x-x364-m26j: npm packages 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.

Original text of GitHub advisory GHSA-7m8x-x364-m26j, shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from GitHub advisory GHSA-7m8x-x364-m26j.

事件紀錄

+DIS揭露

ghsa 回報一筆揭露事件。

來源 ghsa · nday 於 批次匯入 · 原始
{
  "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。公告附有修補 commit。公告發布於 ;修補本身的釋出時間沒有紀錄。

來源 ghsa · nday 於 批次匯入 · 原始
{
  "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"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Discussion

0 comments

No comments yet.