Ever Gauzyで降格されたユーザーの発行済みアクセストークンが有効なまま、管理者権限の操作を続けられる脆弱性
Summary
Ever Gauzyの111.42.10より前のバージョンでは、ユーザーの権限を降格しても、すでに発行されたアクセストークンに残っている旧ロールで権限チェックが通ってしまいます。トークンの有効期間の24時間のあいだ、テナントの削除などの管理者向け操作が可能な状態が続くおそれがあり、CVSSは8.8です。修正版の111.42.10で対処されているため、更新してください。
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.
Ever Gauzyの111.42.10より前のバージョンでは、ユーザーの権限を降格しても、すでに発行されたアクセストークンに残っている旧ロールで権限チェックが通ってしまいます。トークンの有効期間の24時間のあいだ、テナントの削除などの管理者向け操作が可能な状態が続くおそれがあり、CVSSは8.8です。修正版の111.42.10で対処されているため、更新してください。
Original description The description as published by the source.
Ever Gauzy is an open source business management platform for ERP, CRM, HRM, ATS, and project management. Prior to 111.42.10, RoleGuard authorizes requests using the role claim embedded in an access token instead of the user's current database role in packages/core/src/lib/core/context/request-context.ts through RequestContext.hasRoles. After an administrator demotes a user, an already-issued token can continue to pass role checks for up to the token's 24-hour default lifetime, including on DELETE /api/tenant and other RolesEnum.SUPER_ADMIN or ADMIN guarded routes, which can preserve tenant-destructive and billing privileges after revocation. This issue is fixed in version 111.42.10.
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