CVE-2017-1000452
HIGH7.5EPSS 0.14%Samlify vulnerable to Authentication Bypass by allowing tokens to be reused with different usernames
Published: 1/4/2018Modified: 11/8/2023
Also known as:GHSA-8jjf-w7j6-323c
Description
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 (1)
- npm/samlifyfrom 0, < 2.4.0-rc5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2017-1000452
- PATCHhttps://github.com/tngan/samlify
- WEBhttps://github.com/tngan/samlify/commit/d382bbc7c6b8ea889839ae1f178730c25b09eb42
- WEBhttps://github.com/tngan/samlify/compare/v2.4.0-rc4...v2.4.0-rc5
- WEBhttps://github.com/tngan/samlify/releases/tag/v2.4.0-rc5
- WEBhttps://hackerone.com/reports/356284
- WEBhttps://www.whitehats.nl/blog/xml-signature-wrapping-samlify