Description
passport-saml-encrypted through 0.1.13 makes SAML signature verification conditional on an optional cert option, allowing attackers to bypass authentication by submitting unsigned SAML responses. Attackers can post forged SAML responses with arbitrary NameID and attributes to the assertion consumer service endpoint to receive authenticated profiles without valid signatures.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
krakenjs passport-saml-encrypted
Default version status: unaffected
0 to ≤ 0.1.13affected
pkg:npm/passport-saml-encryptedReferences
- https://github.com/krakenjs/passport-saml-encrypted/issues/29 ↗
- https://github.com/krakenjs/passport-saml-encrypted/blob/v0.1.13/lib/saml.js#L296 ↗
- https://github.com/krakenjs/passport-saml-encrypted/blob/v0.1.13/lib/saml.js#L321 ↗
- https://github.com/krakenjs/passport-saml-encrypted ↗
- https://www.vulncheck.com/advisories/passport-saml-encrypted-through-0.1.13-authentication-bypass-via-missing-signature-verification ↗