{"id":"CVE-2017-1000452","aliases":["EUVD-2018-0156","GHSA-8jjf-w7j6-323c"],"status":"published","title":"Samlify vulnerable to Authentication Bypass by allowing tokens to be reused with different usernames","description":"An XML Signature Wrapping vulnerability exists in Samlify 2.2.0 and earlier, and in predecessor Express-saml2 which could allow attackers to impersonate arbitrary users.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.0138,"percentile":0.72317,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-347","CWE-91"],"published":"2018-01-02T17:00:00Z","modified":"2026-10-20T10:48:08Z","fixes":[{"ecosystem":"npm","package":"samlify","fixed_in":["2.4.0-rc5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"samlify","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.0-rc5"}]}]},{"source":"osv","ecosystem":"npm","package":"samlify","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.4.0-rc5"}]}]}],"products":[{"vendor":"samlify_project","product":"samlify"}],"references":[{"url":"https://github.com/tngan/samlify/releases/tag/v2.3.0","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","Release Notes","Third Party Advisory","fix"]},{"url":"https://www.whitehats.nl/blog/xml-signature-wrapping-samlify","tags":["x_refsource_MISC","x_transferred","Mitigation","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-1000452","tags":["advisory"]},{"url":"https://hackerone.com/reports/356284","tags":["web"]},{"url":"https://github.com/tngan/samlify/commit/d382bbc7c6b8ea889839ae1f178730c25b09eb42","tags":["web"]},{"url":"https://github.com/tngan/samlify/compare/v2.4.0-rc4...v2.4.0-rc5","tags":["web"]},{"url":"https://github.com/tngan/samlify/releases/tag/v2.4.0-rc5","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8jjf-w7j6-323c"},{"url":"https://github.com/tngan/samlify","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2017-1000452","description":"An XML Signature Wrapping vulnerability exists in Samlify 2.2.0 and earlier, and in predecessor Express-saml2 which could allow attackers to impersonate arbitrary users.","status":"published","published":"2018-01-02T17:00:00Z","modified":"2024-09-17T04:13:52.559Z","updated_at":"2026-11-02T14:33:20.843976Z"}],"euvd":[{"id":"EUVD-2018-0156","description":"An XML Signature Wrapping vulnerability exists in Samlify 2.2.0 and earlier, and in predecessor Express-saml2 which could allow attackers to impersonate arbitrary users.","status":"published","published":"2018-01-02T17:00:00Z","modified":"2024-09-17T04:13:52Z","updated_at":"2026-11-03T00:28:24.821388Z"}],"ghsa":[{"id":"GHSA-8jjf-w7j6-323c","title":"Samlify vulnerable to Authentication Bypass by allowing tokens to be reused with different usernames","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.\n\n\n## Recommendation\n\nUpgrade to version 2.4.0-rc5 or later","status":"published","published":"2018-01-04T21:03:33Z","modified":"2023-08-18T21:00:55Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-91","CWE-347"],"updated_at":"2026-11-02T14:37:00.074932Z"}],"nvd":[{"id":"CVE-2017-1000452","description":"An XML Signature Wrapping vulnerability exists in Samlify 2.2.0 and earlier, and in predecessor Express-saml2 which could allow attackers to impersonate arbitrary users.","status":"published","published":"2018-01-02T17:29:00.697Z","modified":"2026-06-17T00:59:11.647Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6,"vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-91"],"updated_at":"2026-11-02T14:04:11.215487Z"}],"osv":[{"id":"CVE-2017-1000452","description":"An XML Signature Wrapping vulnerability exists in Samlify 2.2.0 and earlier, and in predecessor Express-saml2 which could allow attackers to impersonate arbitrary users.","status":"published","published":"2018-01-02T17:29:00.697Z","modified":"2026-10-20T10:48:08.30319978Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:03.851821Z"},{"id":"GHSA-8jjf-w7j6-323c","title":"Samlify vulnerable to Authentication Bypass by allowing tokens to be reused with different usernames","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.\n\n\n## Recommendation\n\nUpgrade to version 2.4.0-rc5 or later","status":"published","published":"2018-01-04T21:03:33Z","modified":"2023-11-08T03:58:46.722712Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-347","CWE-91"],"updated_at":"2026-11-02T15:46:42.437513Z"}]}}
