oss-sec mailing list archives

CVE-2021-40690: Apache Santuario: Bypass of the secureValidation property


From: Colm O hEigeartaigh <coheigea () apache org>
Date: Fri, 17 Sep 2021 11:07:19 +0100

Description:

All versions of Apache Santuario - XML Security for Java prior to
2.2.3 and 2.1.7 are vulnerable to an issue where the
"secureValidation" property is not passed correctly when creating a
KeyInfo from a KeyInfoReference element. This allows an attacker to
abuse an XPath Transform to extract any local .xml files in a
RetrievalMethod element.

Credit:

An Trinh, Calif.

References:

https://lists.apache.org/thread.html/r8848751b6a5dd78cc9e99d627e74fecfaffdfa1bb615dce827aad633%40%3Cdev.santuario.apache.org%3E


Current thread: