fastify fastify-csrf 在信任cookie未进行验证与完整性检查

admin 2023-12-01 14:38:18 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 fastify fastify-csrf 在信任cookie未进行验证与完整性检查

CVE编号

CVE-2021-29624

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-05-20
漏洞描述
fastify-csrf is an open-source plugin helps developers protect their Fastify server against CSRF attacks. Versions of fastify-csrf prior to 3.1.0 have a "double submit" mechanism using cookies with an application deployed across multiple subdomains, e.g. "heroku"-style platform as a service. Version 3.1.0 of the fastify-csrf fixes it. the vulnerability. The user of the module would need to supply a `userInfo` when generating the CSRF token to fully implement the protection on their end. This is needed only for applications hosted on different subdomains.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Pre...
https://github.com/fastify/csrf/pull/2
https://github.com/fastify/fastify-csrf/pull/51
https://github.com/fastify/fastify-csrf/releases/tag/v3.1.0
https://github.com/fastify/fastify-csrf/security/advisories/GHSA-rc4q-9m69-gqp8
https://owasp.org/www-pdf-archive/David_Johansson-Double_Defeat_of_Double-Sub...
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 fastify fastify-csrf * Up to (excluding) 3.1.0
阿里云评分 6.1
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 普通权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-352 跨站请求伪造(CSRF)
CWE-565 在信任Cookie未进行验证与完整性检查
- 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