oauth2 安全漏洞 (CVE-2023-31999)

admin 2023-11-29 22:51:46 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
oauth2 安全漏洞 (CVE-2023-31999)

CVE编号

CVE-2023-31999

利用情况

暂无

补丁情况

N/A

披露时间

2023-07-05
漏洞描述
All versions of @fastify/oauth2 used a statically generated state parameter at startup time and were used across all requests for all users. The purpose of the Oauth2 state parameter is to prevent Cross-Site-Request-Forgery attacks. As such, it should be unique per user and should be connected to the user's session in some way that will allow the server to validate it. v7.2.0 changes the default behavior to store the state in a cookie with the http-only and same-site=lax attributes set. The state is now by default generated for every user. Note that this contains a breaking change in the checkStateFunction function, which now accepts the full Request object.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://auth0.com/docs/secure/attack-protection/state-parameters
https://github.com/fastify/fastify-oauth2/releases/tag/v7.2.0
https://hackerone.com/reports/2020418
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 fastify oauth2 * Up to (excluding) 7.2.0
CVSS3评分 8.8
  • 攻击路径 网络
  • 攻击复杂度 低
  • 权限要求 无
  • 影响范围 未更改
  • 用户交互 需要
  • 可用性 高
  • 保密性 高
  • 完整性 高
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE-ID 漏洞类型
CWE-352 跨站请求伪造(CSRF)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0