漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Net::SAML2 versions before 0.86 for Perl allow SAML authentication bypass via XML signature wrapping because new_from_xml reads assertion identity with document-wide XPath instead of the signed subtree
Vulnerability Description
Net::SAML2 versions before 0.86 for Perl allow SAML authentication bypass via XML signature wrapping because new_from_xml reads assertion identity with document-wide XPath instead of the signed subtree.
new_from_xml reads the NameID, attribute values, SessionIndex, audience and other identity fields with document-wide XPath, such as //saml:Assertion/saml:AttributeStatement/saml:Attribute and //saml:Subject/saml:NameID, which select the first matching element in document order rather than the element covered by the verified signature. handle_response confirms that a signature is present and, when a cacert is configured, that it chains to the CA, but XML::Sig verifies only the element named by the signature's Reference URI, so unsigned sibling assertions in the same document are not covered. An attacker who holds any one IdP-signed assertion can add an unsigned attacker-authored assertion earlier in document order; the signature still verifies and the document-order XPath returns the attacker's NameID and attributes.
Any caller that passes an untrusted Response to new_from_xml can accept identity fields from an assertion the IdP never signed, even when a cacert trust anchor is configured, so a party holding one valid IdP-signed assertion can authenticate as an arbitrary user.
CVSS Information
N/A
Vulnerability Type
密码学签名的验证不恰当
Vulnerability Title
TIMLEGGE Net::SAML2 加密问题漏洞
Vulnerability Description
timlegge Net::SAML2是timlegge个人开发者的一款实现SAML2协议的Perl库。 TIMLEGGE Net::SAML2 0.86之前版本存在加密问题漏洞,该漏洞源于new_from_xml读取断言身份时使用文档范围的XPath而非签名子树,可能导致SAML身份验证绕过,攻击者持有一个IdP签名的断言即可添加未签名的攻击者断言,从而以任意用户身份进行认证。
CVSS Information
N/A
Vulnerability Type
N/A