nday
GHSA-7m8x-x364-m26j

Signal K Server: Buffered logs exposed to unauthenticated WebSocket clients

CVE 공개: . 해결 버전: signalk-server 2.31.0-beta.1. PoC 출처 4곳 모두 미등재. 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.

이벤트 로그

+DISCVE 공개

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.