Tandoor Recipesでスペース間の権限キャッシュの誤りにより権限を不正に維持される
Summary
Tandoor Recipes 2.7.0より前のバージョンでは、権限のキャッシュキーにスペースが含まれないため、認証済みのユーザーが別のスペースで古い管理者権限を保持したまま操作できる問題があります。権限を下げられたり剥奪されたりした後も、特権的なアクセスが可能になるおそれがあります。修正版として2.7.0が公開されているため、2.7.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.
Tandoor Recipes 2.7.0より前のバージョンでは、権限のキャッシュキーにスペースが含まれないため、認証済みのユーザーが別のスペースで古い管理者権限を保持したまま操作できる問題があります。権限を下げられたり剥奪されたりした後も、特権的なアクセスが可能になるおそれがあります。修正版として2.7.0が公開されているため、2.7.0以降へアップデートしてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Tandoor RecipesTandoor Recipes |
< 2.7.0→ 2.7.0 |
2.7.0 |
Original description The description as published by the source.
Tandoor Recipes before 2.7.0 contains an improper cache-key design in cookbook/helper/permission_helper.py that allows authenticated users to retain stale group-based permissions across different spaces by exploiting a cache key keyed only on user id while omitting the active space, with the cached entry's TTL refreshed on every request. Attackers can create their own space to obtain an admin group designation, then switch their active space to a victim space where they hold lesser privileges, causing the stale cached admin decision to authorize elevated access and bypass group revocations or demotions across multiple permission classes and views.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com