GHSA-8jjf-w7j6-323c

Suggest an improvement
Source
https://github.com/advisories/GHSA-8jjf-w7j6-323c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/01/GHSA-8jjf-w7j6-323c/GHSA-8jjf-w7j6-323c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8jjf-w7j6-323c
Aliases
Published
2018-01-04T21:03:33Z
Modified
2023-11-08T03:58:46Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Recommendation

Upgrade to version 2.4.0-rc5 or later

Database specific
{
    "cwe_ids":  [
        "CWE-347",
        "CWE-91"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-06-16T21:25:47Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / samlify

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
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"