中危 Action Pack up to 6.0.3.4/6.1.2.0 Host Authorization Middleware redirect
CVE编号
CVE-2021-22881利用情况
暂无补丁情况
官方补丁披露时间
2021-02-12漏洞描述
The Host Authorization middleware in Action Pack before 6.1.2.1, 6.0.3.5 suffers from an open redirect vulnerability. Specially crafted `Host` headers in combination with certain "allowed host" formats can cause the Host Authorization middleware in Action Pack to redirect users to a malicious website. Impacted applications will have allowed hosts with a leading dot. When an allowed host contains a leading dot, a specially crafted `Host` header can be used to redirect to a malicious website.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | rubyonrails | rails | * | From (including) 6.0.0 | Up to (excluding) 6.0.3.5 | ||||
运行在以下环境 | |||||||||
应用 | rubyonrails | rails | * | From (including) 6.1.0 | Up to (excluding) 6.1.2.1 | ||||
运行在以下环境 | |||||||||
系统 | debian_10 | rails | * | Up to (excluding) 5.2.2.1+dfsg-1+deb10u3 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | rails | * | Up to (excluding) 2:6.0.3.5+dfsg-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | rails | * | Up to (excluding) 2:6.0.3.5+dfsg-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | rails | * | Up to (excluding) 2:6.0.3.5+dfsg-1 | |||||
运行在以下环境 | |||||||||
系统 | fedora_33 | rubygem-actionpack | * | Up to (excluding) 6.0.3.4-2.fc33 | |||||
- 攻击路径 远程
- 攻击复杂度 容易
- 权限要求 无需权限
- 影响范围 越权影响
- EXP成熟度 N/A
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-601 | 指向未可信站点的URL重定向(开放重定向) |
Exp相关链接

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