NORAにトークン管理の認可不備の脆弱性、他ユーザーのトークンを無効化される恐れ
Summary
NORAのnora-registryには、管理者の権限を確認しないトークン管理の脆弱性があります。読み取り権限のあるトークンで他ユーザーのトークンの情報を一覧でき、書き込み権限のあるトークンでは管理者やサービスのトークンを無効化できるおそれがあります。修正版の0.9.5で対処されているため、0.9.5以降へ更新することをお勧めします。
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.
NORAのnora-registryには、管理者の権限を確認しないトークン管理の脆弱性があります。読み取り権限のあるトークンで他ユーザーのトークンの情報を一覧でき、書き込み権限のあるトークンでは管理者やサービスのトークンを無効化できるおそれがあります。修正版の0.9.5で対処されているため、0.9.5以降へ更新することをお勧めします。
Original description The description as published by the source.
NORA is a self-hosted artifact registry and pull-through cache. Prior to 0.9.5, nora-registry authenticates the token-management UI but fails to require administrator authorization. auth_middleware() protects /ui/tokens and /api/ui/tokens, but state-changing requests are checked only with role.can_write(), not role.can_admin(). tokens_page() and tokens_list() call store.list_all_tokens(), exposing IDs and metadata across all users, while tokens_revoke() calls store.revoke_token using the supplied token ID without an ownership or admin check. A read bearer token can enumerate other users' token existence, owner, role, description, expiry and last-use metadata. A write bearer token or write-capable OIDC identity can additionally revoke arbitrary admin and service tokens, disrupting the registry and forcing credential recovery. Read-only identities cannot POST a revocation. This issue is fixed in version 0.9.5.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com