是一个用于实现 OAuth2 登录流程的 Fastify 插件。在版本 7.2.0 至 8.3.1 中,当登录路由包含两个或更多路径段时, 和 的 Cookie 在设置时未指定 属性;而在 OAuth 回调的清除步骤中,这些 Cookie 却以根路径( )写入。这导致原始 Cookie 在回调后依然有效,使得文档中承诺的 值“单次使用”保障失效。 一旦攻击者获取了某个 值,该值将在整个浏览器会话期间保持有效。攻击者可借此在受害者的浏览器中驱动其自身的授权流程,将受害者登录到攻击者控制的账户中,从而实施登录跨站请求伪
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/oauth2 | @fastify/oauth2 | 7.2.0 ~ 8.3.2 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet