| タイトル | requarksのWiki.jsにおける権限管理に関する脆弱性 |
|---|---|
| 概要 | Wiki.jsはNode.js上に構築されたオープンソースのウィキアプリケーションです。バージョン2.5.313より前のバージョンでは、users.update GraphQLミューテーションが任意のgroups配列を受け入れ、提供されたグループIDの検証を行わずにそのままデータベースに適用していました。リゾルバは呼び出し元の引数をそのままモデルに渡し、所有権の確認や割り当て可能なグループに制限を設けていませんでした。manage:users権限を持つユーザー(通常ウィキのモデレーターにアカウント管理のために委譲される権限)は、自分のアカウントにgroups:[1]を設定することで、管理者グループへの自己割り当てが可能でした。再認証後に新しいJWTにはmanage:system権限が付与され、一つのミューテーション呼び出しでサイト管理者の完全なアクセス権を得ることができました。この脆弱性はバージョン2.5.313で修正されています。 |
| 想定される影響 | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| 対策 | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月12日0:00 |
| 登録日 | 2026年5月18日12:12 |
| 最終更新日 | 2026年5月18日12:12 |
| CVSS3.0 : 重要 | |
| スコア | 8.8 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| requarks |
| Wiki.js 2.5.313 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年05月18日] 掲載 |
2026年5月18日12:12 |
| 概要 | Wiki.js is an open source wiki app built on Node.js. Prior to 2.5.313, the users.update GraphQL mutation accepts an arbitrary groups array and applies it directly to the database with no validation of the group IDs supplied. The resolver passes the caller's arguments straight to the model without any ownership check or restriction on which groups can be assigned. A user with manage:users — a permission typically delegated to wiki moderators for account management — can set groups:[1] on their own account to self-assign to the Administrators group. After re-authentication, the fresh JWT carries manage:system, granting full site administrator access in a single mutation call. This vulnerability is fixed in 2.5.313. |
|---|---|
| 公表日 | 2026年5月13日6:16 |
| 登録日 | 2026年5月15日4:18 |
| 最終更新日 | 2026年5月14日23:56 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:requarks:wiki.js:*:*:*:*:*:*:*:* | 2.5.313 | ||||