{"id":"GHSA-8jjf-w7j6-323c","summary":"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.\n\n\n## Recommendation\n\nUpgrade to version 2.4.0-rc5 or later","aliases":["CVE-2017-1000452"],"modified":"2023-11-08T03:58:46.722712Z","published":"2018-01-04T21:03:33Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-347","CWE-91"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:25:47Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000452"},{"type":"WEB","url":"https://github.com/tngan/samlify/commit/d382bbc7c6b8ea889839ae1f178730c25b09eb42"},{"type":"WEB","url":"https://hackerone.com/reports/356284"},{"type":"PACKAGE","url":"https://github.com/tngan/samlify"},{"type":"WEB","url":"https://github.com/tngan/samlify/compare/v2.4.0-rc4...v2.4.0-rc5"},{"type":"WEB","url":"https://github.com/tngan/samlify/releases/tag/v2.4.0-rc5"},{"type":"WEB","url":"https://www.whitehats.nl/blog/xml-signature-wrapping-samlify"}],"affected":[{"package":{"name":"samlify","ecosystem":"npm","purl":"pkg:npm/samlify"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.4.0-rc5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/01/GHSA-8jjf-w7j6-323c/GHSA-8jjf-w7j6-323c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}