Tandoor Recipes < 2.7.0 Cross-Space Permission Cache Poisoning
What fixes it
- 2.7.0Tandoor RecipesCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Reports 1
1 outlet mention it. Reports are not confirmation; each links to its source.
Description
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.
Text from CVE List
Affected versions 1
- Tandoor Recipesaffected: all versions before 2.7.0CVE List
References 4
- github.com/TandoorRecipes/recipes/releases/tag/2.7.0Fixvia CVE List
- github.com/TandoorRecipes/recipes/commit/1285f5009aa166c0d6f8658849eed5686294d5e9Fixvia CVE List
- github.com/TandoorRecipes/recipes/security/advisories/GHSA-69q3-5q6x-7hmxAdvisoryvia CVE List
- vulncheck.com/advisories/tandoor-recipes-cross-space-permission-cache-poisoningAdvisoryvia CVE List