enclave-os-mini-wasmで認証なしに管理者権限を得られる脆弱性
Summary
FIDO2を有効にしたWASMアプリで、ロールの設定が空の状態だと、最初に登録したFIDO2ユーザーに管理者ロールが割り当てられる脆弱性です。認証なしでロール制限のある機能を呼び出せ、追加のアプリロールも付与できるおそれがあります。enclave-os-mini-wasmは0.55.0、enclave-clusterは0.8.0で修正されているため、両方を修正版に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
FIDO2を有効にしたWASMアプリで、ロールの設定が空の状態だと、最初に登録したFIDO2ユーザーに管理者ロールが割り当てられる脆弱性です。認証なしでロール制限のある機能を呼び出せ、追加のアプリロールも付与できるおそれがあります。enclave-os-mini-wasmは0.55.0、enclave-clusterは0.8.0で修正されているため、両方を修正版に更新してください。
Original description The description as published by the source.
Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini-wasm version 0.55.0 and enclave-cluster version 0.8.0, Enclave OS Mini's get_user_roles_with_bootstrap logic assigned the admin role to the first FIDO2 user seen while an application's role-store manifest was empty. Because FIDO2 registration required no prior identity and applications using OIDC could leave this separate manifest empty, an unauthenticated registrant could invoke role-gated functions, access app_roles, and grant additional application roles. The issue affects WASM applications with FIDO2 enabled and role-gated functions, but does not grant owner or configuration API privileges. This issue is fixed in enclave-os-mini-wasm version 0.55.0 and enclave-cluster version 0.8.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com