CyberRota Analysis
AI-GeneratedXML::Sig versions prior to 0.71 for Perl are vulnerable to signature wrapping attacks due to the mishandling of duplicate ID values in XML documents. This flaw allows an attacker to manipulate SAML2 assertions by exploiting the signature verification process, potentially leading to unauthorized access or data manipulation. Organizations utilizing affected versions of XML::Sig, particularly those implementing SAML2 for authentication, should prioritize patching to mitigate this critical vulnerability.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
XML::Sig versions before 0.71 for Perl allow signature wrapping via duplicate ID. _get_signed_xml() in lib/XML/Sig.pm, called from verify(), resolves the SignedInfo Reference/@URI to a node with the XPath expression "//*[@ID='$id']" and returns the first node of the resulting node set. A document in which two elements share that ID value is accepted: the digest and signature are checked against whichever element comes first in document order, and the duplicate is not detected. Such a document verifies successfully while an application that resolves the same ID independently can read the second, attacker supplied element; in a SAML2 context this places the contents of an Assertion under attacker control.
Related CVEs
Other vulnerabilities affecting the same vendor(s)