是一个 Fastify 插件,能够将多种认证和授权策略组合为单一的路由守卫。在 5.0.0 至 5.1.0 版本中,当策略以 关系组合,同时启用 执行选项,且其中某个条目为作为 AND 分组的嵌套数组时,该分组的求值方式是顺序依赖的:较早失败的检查会被静默丢弃,分组的最终结果仅由其最后一个检查的结果决定。 因此,一个仅满足 AND 分组中最后一个成员条件的请求——例如,攻击者持有有效的 API 密钥但并非管理员——会被授权通过,而未被拒绝。此外,类似的顺序依赖绕过也影响镜像配置:当顶层关系为 且嵌套分组使用 时也会
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| @fastify/auth | @fastify/auth | 5.0.0< 5.1.1 |
affected |
5.1.1 |
unaffected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| @fastify/auth | @fastify/auth | 5.0.0 ~ 5.1.1 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet