GHSA-5p8w-2mvw-38pv

Suggest an improvement
Source
https://github.com/advisories/GHSA-5p8w-2mvw-38pv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-5p8w-2mvw-38pv/GHSA-5p8w-2mvw-38pv.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5p8w-2mvw-38pv
Aliases
Published
2022-10-12T22:05:44Z
Modified
2023-11-08T04:10:18Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Signature bypass via multiple root elements
Details

Impact

A remote attacker may be able to bypass SAML authentication on a website using passport-saml. A successful attack requires that the attacker is in possession of an arbitrary IDP signed XML element. Depending on the IDP used, fully unauthenticated attacks (e.g without access to a valid user) might also be feasible if generation of a signed message can be triggered.

Patches

Users should upgrade to node-saml v4.0.0-beta5 or newer.

Workarounds

Disable SAML authentication.

References

Are there any links users can visit to find out more?

For more information

If you have any questions or comments about this advisory:

Credits

  • Felix Wilhelm of Google Project Zero
Database specific
{
    "cwe_ids":  [
        "CWE-347"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-10-12T22:05:44Z",
    "nvd_published_at":  "2022-10-13T22:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / node-saml

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.0.0-beta.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-5p8w-2mvw-38pv/GHSA-5p8w-2mvw-38pv.json"