低危 zmartzone mod_auth_openidc 指向未可信站点的url重定向(开放重定向)
CVE编号
CVE-2021-32786利用情况
暂无补丁情况
官方补丁披露时间
2021-07-23漏洞描述
mod_auth_openidc is an authentication/authorization module for the Apache 2.x HTTP server that functions as an OpenID Connect Relying Party, authenticating users against an OpenID Connect Provider. In versions prior to 2.4.9, `oidc_validate_redirect_url()` does not parse URLs the same way as most browsers do. As a result, this function can be bypassed and leads to an Open Redirect vulnerability in the logout functionality. This bug has been fixed in version 2.4.9 by replacing any backslash of the URL to redirect with slashes to address a particular breaking change between the different specifications (RFC2396 / RFC3986 and WHATWG). As a workaround, this vulnerability can be mitigated by configuring `mod_auth_openidc` to only allow redirection whose destination matches a given regular expression.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | apache | http_server | * | From (including) 2.0.0 | Up to (including) 2.4.48 | ||||
运行在以下环境 | |||||||||
应用 | zmartzone | mod_auth_openidc | * | Up to (excluding) 2.4.9 | |||||
运行在以下环境 | |||||||||
系统 | anolis_os_8 | mod_auth_openidc | * | Up to (excluding) 0.6.1-2 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | libapache2-mod-auth-openidc | * | Up to (excluding) 2.3.10.2-1+deb10u2 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | libapache2-mod-auth-openidc | * | Up to (excluding) 2.4.9-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | libapache2-mod-auth-openidc | * | Up to (excluding) 2.4.9-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_9 | libapache2-mod-auth-openidc | * | Up to (including) 2.1.6-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | libapache2-mod-auth-openidc | * | Up to (excluding) 2.4.9-1 | |||||
运行在以下环境 | |||||||||
系统 | fedora_33 | mod_auth_openidc | * | Up to (excluding) 2.4.9-1.fc33 | |||||
运行在以下环境 | |||||||||
系统 | fedora_34 | mod_auth_openidc | * | Up to (excluding) 2.4.9-1.fc34 | |||||
运行在以下环境 | |||||||||
系统 | fedora_35 | mod_auth_openidc-debuginfo | * | Up to (excluding) 2.4.9-1.fc35 | |||||
运行在以下环境 | |||||||||
系统 | fedora_39 | mod_auth_openidc-debuginfo | * | Up to (excluding) 2.4.12.3-2.fc39 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.2 | apache2-mod_auth_openidc | * | Up to (excluding) 2.3.8-lp152.5.6.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.3 | apache2-mod_auth_openidc | * | Up to (excluding) 2.3.8-3.15.1 | |||||
运行在以下环境 | |||||||||
系统 | oracle_8 | oraclelinux-release | * | Up to (excluding) 0.6.1-2.module+el8+5139+bcb28322 | |||||
运行在以下环境 | |||||||||
系统 | suse_12_SP5 | apache2-mod_auth_openidc | * | Up to (excluding) 2.4.0-3.23.1 | |||||
- 攻击路径 远程
- 攻击复杂度 容易
- 权限要求 无需权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-601 | 指向未可信站点的URL重定向(开放重定向) |
Exp相关链接

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