低危 Idpy Pysaml2 数据伪造问题漏洞
CVE编号
CVE-2021-21239利用情况
POC 已公开补丁情况
官方补丁披露时间
2021-01-22漏洞描述
PySAML2 is a pure python implementation of SAML Version 2 Standard. PySAML2 before 6.5.0 has an improper verification of cryptographic signature vulnerability. Users of pysaml2 that use the default CryptoBackendXmlSec1 backend and need to verify signed SAML documents are impacted. PySAML2 does not ensure that a signed SAML document is correctly signed. The default CryptoBackendXmlSec1 backend is using the xmlsec1 binary to verify the signature of signed SAML documents, but by default xmlsec1 accepts any type of key found within the given document. xmlsec1 needs to be configured explicitly to only use only _x509 certificates_ for the verification process of the SAML document signature. This is fixed in PySAML2 6.5.0.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | pysaml2_project | pysaml2 | * | Up to (excluding) 6.5.0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.13 | py3-saml2 | * | Up to (excluding) 6.4.1-r1 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.14 | py3-saml2 | * | Up to (excluding) 6.5.0-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.15 | py3-saml2 | * | Up to (excluding) 6.5.0-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.16 | py3-saml2 | * | Up to (excluding) 6.5.0-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.17 | py3-saml2 | * | Up to (excluding) 6.5.0-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.18 | py3-saml2 | * | Up to (excluding) 6.5.0-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_edge | py3-saml2 | * | Up to (excluding) 6.5.0-r0 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | python-pysaml2 | * | Up to (including) 4.5.0-4+deb10u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | python-pysaml2 | * | Up to (excluding) 6.5.1-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | python-pysaml2 | * | Up to (excluding) 6.5.1-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_9 | python-pysaml2 | * | Up to (excluding) 3.0.0-5+deb9u2 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | python-pysaml2 | * | Up to (excluding) 6.5.1-1 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04 | python-pysaml2 | * | Up to (excluding) 4.0.2-0ubuntu3.2 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04.5_lts | python-pysaml2 | * | Up to (excluding) 4.0.2-0ubuntu3.2 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_20.04 | python-pysaml2 | * | Up to (excluding) 4.9.0-0ubuntu3.1 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_21.04 | python-pysaml2 | * | Up to (excluding) 6.1.0-0ubuntu1.21.04.1 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_21.10 | python-pysaml2 | * | Up to (excluding) 6.1.0-0ubuntu2 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_22.04 | python-pysaml2 | * | Up to (excluding) 6.1.0-0ubuntu2 | |||||
- 攻击路径 远程
- 攻击复杂度 复杂
- 权限要求 无需权限
- 影响范围 有限影响
- EXP成熟度 POC 已公开
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-347 | 密码学签名的验证不恰当 |
Exp相关链接
- avd.aliyun.com
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论