nday
GHSA-7m8x-x364-m26j

Signal K Server: Buffered logs exposed to unauthenticated WebSocket clients

に公開されました。修正済みバージョンは signalk-server 2.31.0-beta.1 です。4 つの 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。修正コミットへのリンクあり。アドバイザリの公開は 。修正版そのもののリリース日時は記録なし。

出典 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.