Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLThqamYtdzdqNi0zMjNj
Samlify vulnerable to Authentication Bypass by allowing tokens to be reused with different usernames
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
Permalink: https://github.com/advisories/GHSA-8jjf-w7j6-323cJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLThqamYtdzdqNi0zMjNj
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 7 years ago
Updated: over 1 year ago
CVSS Score: 7.5
CVSS vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-8jjf-w7j6-323c, CVE-2017-1000452
References:
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000452
- https://hackerone.com/reports/356284
- https://www.whitehats.nl/blog/xml-signature-wrapping-samlify
- https://github.com/tngan/samlify/commit/d382bbc7c6b8ea889839ae1f178730c25b09eb42
- https://github.com/tngan/samlify/compare/v2.4.0-rc4...v2.4.0-rc5
- https://github.com/tngan/samlify/releases/tag/v2.4.0-rc5
- https://github.com/advisories/GHSA-8jjf-w7j6-323c
Blast Radius: 17.1
Affected Packages
npm:samlify
Dependent packages: 32Dependent repositories: 192
Downloads: 444,434 last month
Affected Version Ranges: < 2.4.0-rc5
Fixed in: 2.4.0-rc5
All affected versions: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.1.0, 2.1.1, 2.2.0, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.4.0-rc1, 2.4.0-rc2, 2.4.0-rc3, 2.4.0-rc4
All unaffected versions: 2.4.0, 2.4.1, 2.4.2, 2.5.0, 2.5.1, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.7.5, 2.7.6, 2.7.7, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.8.5, 2.8.6, 2.8.7, 2.8.8, 2.8.9, 2.8.10, 2.8.11