Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
cybernieuws.nl Cybersecurity en informatiebeveiling nieuws alerts live · 5 min 119 bronnen 1 kritiek 30 vandaag
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-66012

CRITICAL · 10.0 CVSS Gepubliceerd: CWE-862

Beschrijving NL

SiYuan voor v3.7.2 bevat een ontbrekende autorisatiekwetsbaarheid in het POST /mcp-kernel-eindpunt, dat alleen wordt beveiligd door een algemene auth-controle (model.CheckAuth) zonder admin-rol of alleen-lezen handhaving. Dit toont 31 MCP-hulpprogramma's, waaronder een bestandstool met acties voor lijst/lezen/schrijven/verwijderen/hernoemen/kopiëren in de hele werkruimte. Wanneer de Publicatieserver is ingeschakeld in de anonieme modus (Conf.Publish.Enable=true en Conf.Publish.Auth.Enable=false), koppelt de omgekeerde proxy Publiceren een anonieme RoleReader JWT aan proxyverzoeken, waardoor een niet-geverifieerde aanvaller op afstand/mcp kan bereiken. De aanvaller kan conf/conf.json lezen om accessAuthCode, api.token en cookieKey in platte tekst uit te pakken, willekeurige bestanden in de werkruimte schrijven en een plug-in in gegevens/plug-ins/installeren die wordt uitgevoerd met nodeIntegration:true en no contextIsolation bij de volgende desktoplancering, wat leidt tot overname door de beheerder.

Origineel (Engels) tonen

SiYuan before v3.7.2 contains a missing authorization vulnerability in the POST /mcp kernel endpoint, which is gated only by a general auth check (model.CheckAuth) with no admin-role or read-only enforcement. This exposes 31 MCP tools, including a file tool with list/read/write/delete/rename/copy actions across the entire workspace. When the Publish server is enabled in anonymous mode (Conf.Publish.Enable=true and Conf.Publish.Auth.Enable=false), the Publish reverse proxy attaches an anonymous RoleReader JWT to proxied requests, allowing a remote unauthenticated attacker to reach /mcp. The attacker can read conf/conf.json to extract accessAuthCode, api.token, and cookieKey in plaintext, write arbitrary files in the workspace, and plant a plugin into data/plugins/ that executes with nodeIntegration:true and no contextIsolation on the next desktop launch, leading to administrator takeover.

References