passport-saml-encrypted through 0.1.13 XML Signature Wrapping via Assertion Prepending
28Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 9.1epss 0.3%
exploitation probability
0.3%top 79% of all CVEs
observed exploitation
nono source reports it
passport-saml-encrypted through 0.1.13 contains an XML signature wrapping vulnerability where signature verification and assertion extraction use independent XPath lookups with no cross-validation. Attackers holding any validly signed SAML message can prepend a forged unsigned assertion that gets accepted as the verified identity while the genuine signature validates against the original assertion.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Affected products
krakenjs · passport-saml-encryptedReferences
https://github.com/krakenjs/passport-saml-encryptedhttps://github.com/krakenjs/passport-saml-encrypted/blob/v0.1.13/lib/saml.js#L256https://github.com/krakenjs/passport-saml-encrypted/blob/v0.1.13/lib/saml.js#L328https://github.com/krakenjs/passport-saml-encrypted/issues/30https://www.vulncheck.com/advisories/passport-saml-encrypted-through-0.1.13-xml-signature-wrapping-via-assertion-prepending