中危 rubyonrails rails 在web页面生成时对输入的转义处理不恰当(跨站脚本)
CVE编号
CVE-2022-3704利用情况
暂无补丁情况
官方补丁披露时间
2022-10-27漏洞描述
A vulnerability classified as problematic has been found in Ruby on Rails. This affects an unknown part of the file actionpack/lib/action_dispatch/middleware/templates/routes/_table.html.erb. The manipulation leads to cross site scripting. It is possible to initiate the attack remotely. The name of the patch is be177e4566747b73ff63fd5f529fab564e475ed4. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-212319.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/rails/rails/commit/be177e4566747b73ff63fd5f529fab564e475ed4 | |
https://github.com/rails/rails/issues/46244 | |
https://vuldb.com/?id.212319 |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | rubyonrails | rails | - | - | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | rails | * | Up to (including) 5.2.2.1+dfsg-1+deb10u3 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | rails | * | Up to (including) 6.0.3.7+dfsg-2+deb11u2 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | rails | * | Up to (including) 6.1.7.3+dfsg-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | rails | * | Up to (including) 6.1.7.3+dfsg-2 | |||||
运行在以下环境 | |||||||||
系统 | fedora_35 | tcpreplay | * | Up to (excluding) 4.4.2-1.fc35 | |||||
运行在以下环境 | |||||||||
系统 | fedora_36 | tcpreplay | * | Up to (excluding) 4.4.2-1.fc36 | |||||
运行在以下环境 | |||||||||
系统 | fedora_37 | tcpreplay | * | Up to (excluding) 4.4.2-1.fc37 | |||||
运行在以下环境 | |||||||||
系统 | fedora_EPEL_7 | tcpreplay | * | Up to (excluding) 4.4.2-1.el7 | |||||
运行在以下环境 | |||||||||
系统 | fedora_EPEL_8 | tcpreplay | * | Up to (excluding) 4.4.2-1.el8 | |||||
运行在以下环境 | |||||||||
系统 | fedora_EPEL_9 | tcpreplay | * | Up to (excluding) 4.4.2-1.el9 | |||||
- 攻击路径 本地
- 攻击复杂度 困难
- 权限要求 普通权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-707 | 对消息或数据结构的处理不恰当 |
CWE-74 | 输出中的特殊元素转义处理不恰当(注入) |
CWE-79 | 在Web页面生成时对输入的转义处理不恰当(跨站脚本) |
Exp相关链接

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