中危 nextauth.js next-auth 指向未可信站点的url重定向(开放重定向)
CVE编号
CVE-2022-24858利用情况
暂无补丁情况
官方补丁披露时间
2022-04-20漏洞描述
next-auth v3 users before version 3.29.2 are impacted. next-auth version 4 users before version 4.3.2 are also impacted. Upgrading to 3.29.2 or 4.3.2 will patch this vulnerability. If you are not able to upgrade for any reason, you can add a configuration to your callbacks option. If you already have a `redirect` callback, make sure that you match the incoming `url` origin against the `baseUrl`.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/nextauthjs/next-auth/security/advisories/GHSA-f9wg-5f46-cjmw | |
https://next-auth.js.org/configuration/callbacks | |
https://next-auth.js.org/getting-started/upgrade-v4 |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | nextauth.js | next-auth | * | From (including) 3.0.0 | Up to (excluding) 3.29.2 | ||||
运行在以下环境 | |||||||||
应用 | nextauth.js | next-auth | * | From (including) 4.0.0 | Up to (excluding) 4.3.2 |
- 攻击路径 本地
- 攻击复杂度 困难
- 权限要求 普通权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-601 | 指向未可信站点的URL重定向(开放重定向) |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论