ADVISORIES

GitHub Advisory Database

GHSA-8jjf-w7j6-323c

Samlify vulnerable to Authentication Bypass by allowing tokens to be reused with different usernames

Details

Versions of samlify prior to 2.4.0-rc5 are vulnerable to Authentication Bypass. The package fails to prevent XML Signature Wrapping, allowing tokens to be reused with different usernames. A remote attacker can modify SAML content for a SAML service provider without invalidating the cryptographic signature, which may allow attackers to bypass primary authentication for the affected SAML service provider.

Recommendation

Upgrade to version 2.4.0-rc5 or later

Affected packages

EcosystemPackageAffected versions
npmsamlify
All versions before 2.4.0-rc5 (fixed in 2.4.0-rc5)

References