漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
XML::Sig versions before 0.71 for Perl allow XPath injection in ID lookup
Vulnerability Description
XML::Sig versions before 0.71 for Perl allow XPath injection in ID lookup.
verify() and _get_signed_xml() in lib/XML/Sig.pm build XPath expressions by concatenating the SignedInfo/Reference/@URI value read from the document being verified. The value is neither escaped nor checked against the NCName grammar that XML requires of an ID, so a URI containing a single quote closes the string literal in the generated expression and appends arbitrary XPath operators.
A crafted URI can make the lookup match elements the reference does not name, or every element in the document, so which node is selected for digest verification is decided by the injected expression rather than by the reference.
CVSS Information
N/A
Vulnerability Type
XPath表达式中数据转义处理不恰当(XPath注入)
Vulnerability Title
TIMLEGGE XML::Sig 软件供应链问题漏洞
Vulnerability Description
timlegge XML::Sig是timlegge个人开发者的一款处理XML数字签名的Perl模块。 TIMLEGGE XML::Sig 0.71之前版本存在安全漏洞,该漏洞源于verify()和_get_signed_xml()在构建XPath表达式时未对SignedInfo/Reference/@URI值进行转义和检查,可能导致XPath注入,攻击者可通过特制URI控制摘要验证选择的节点。
CVSS Information
N/A
Vulnerability Type
N/A