SiYuanで認証を回避され管理者権限を取得されるおそれ
概要
SiYuan の kernel に、ローカルホストからの要求を管理者として扱う認証回避の脆弱性が見つかりました。固定ポートのリバースプロキシを外部に公開している環境では、遠隔の未認証の攻撃者が一部のエンドポイントで管理者権限を得るおそれがあります。対象は v3.7.2 以前で、v3.7.4 で修正されています。修正版へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
github.com/siyuan-note/siyuan/kernel という製品で、CVE-2026-72809 という番号がついた弱点 (脆弱性) が見つかりました。
悪い人がインターネット越しに CheckAuth のような特定の入り口を狙うことで、製品の中を不正に操作できてしまいます。
機密情報が外部に流出する可能性があります。重要度は CVSS スコア 8.0/10 です。
対策: github.com/siyuan-note/siyuan/kernel を 0.0.0-20260723031701-9c16e9851f0b 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「github.com/siyuan-note/siyuan/kernel CVE-2026-72809」を検索してください。
CVE-2026-72809 (github.com/siyuan-note/siyuan/kernel) — CWE-290 / CVSS v3 8.0
攻撃ベクター: ローカル / 認証不要 / 被害者操作不要
脆弱箇所: CheckAuth / RoleAdministrator / RemoteAddr / accessAuthCode
修正バージョン: 0.0.0-20260723031701-9c16e9851f0b (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
github.com/siyuan-note/siyuan/kernel に 脆弱性 (CWE-290) があります。攻撃者は CheckAuth を経由して脆弱な処理に到達し、認証なしで悪用できます。
github.com/siyuan-note/siyuan/kernel の影響バージョンはベンダーのアドバイザリで確認してください。攻撃箇所: CheckAuth / RoleAdministrator / RemoteAddr / accessAuthCode。
重要度: 重要 (CVSS 8.0/10)。機密情報が外部に流出する可能性があります。
0.0.0-20260723031701-9c16e9851f0b に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
grep -r 'github.com/siyuan-note/siyuan/kernel' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/siyuan-note/siyuan/kernelを grep し、稼働しているサービス・バージョンを把握する。 -
2
パッチ適用patch
Upgrade github.com/siyuan-note/siyuan/kernel to 0.0.0-20260723031701-9c16e9851f0bステージング環境で 0.0.0-20260723031701-9c16e9851f0b に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| gogithub.com/siyuan-note/siyuan/kernel |
0.0.0-20260723031701-9c16e9851f0b 未満→ 0.0.0-20260723031701-9c16e9851f0b |
0.0.0-20260723031701-9c16e9851f0b |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
SiYuan versions <= v3.7.2 (patched in v3.7.4) contain an authentication bypass vulnerability in the kernel's CheckAuth function, which grants the administrator role (RoleAdministrator) to any request whose RemoteAddr is loopback (127.0.0.1) for a specific set of endpoints (including /api/system/exit, getNetwork, getWorkspaceInfo, /assets/, and /export/). These localhost bypasses sit outside the access auth code gate, so they apply even when an access auth code is configured. Because the fixed-port reverse proxy forwards requests to the kernel over loopback without injecting an authentication token and does not configure trusted proxies, a request forwarded through this proxy reaches the kernel with RemoteAddr = 127.0.0.1. If the fixed-port proxy is bound to a network interface, this could allow a remote unauthenticated attacker to obtain admin access on the affected endpoints; however, per the advisory this remote forwarding behavior was established only by code inspection and was not reproduced end-to-end.
出典: NIST National Vulnerability Database NVD GitHub Advisory
参照URL
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- web github.com
- web github.com
- web github.com