Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS14bWdnLWZ4OXAtcHJxNs4AAu1o

NodeBB account takeover via SSO plugins

This is a historical security advisory, pertaining to a vulnerability that was reported, patched, and published in 2021. It is listed here for completeness and for CVE tracking purposes.

Impact

Due to an unnecessarily strict conditional in the code handling the first step of the SSO process, the pre-existing logic that added (and later checked) a nonce was inadvertently rendered opt-in instead of opt-out.

This re-exposed a vulnerability in that a specially crafted MITM attack could theoretically take over another user account during the single sign-on process.

Patches

The issue has been fully patched as of v1.17.2.

The patch commit can be found at https://github.com/NodeBB/NodeBB/commit/a2400f6baff44cb2996487bcd0cc6e2acc74b3d4

Workarounds

Site maintainers can cherry-pick https://github.com/NodeBB/NodeBB/commit/a2400f6baff44cb2996487bcd0cc6e2acc74b3d4 into their codebase to patch the exploit.

References

For more information

If you have any questions or comments about this advisory:

Permalink: https://github.com/advisories/GHSA-xmgg-fx9p-prq6
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS14bWdnLWZ4OXAtcHJxNs4AAu1o
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 1 year ago
Updated: about 1 year ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Identifiers: GHSA-xmgg-fx9p-prq6, CVE-2022-36076
References: Repository: https://github.com/NodeBB/NodeBB
Blast Radius: 3.6

Affected Packages

npm:nodebb
Dependent packages: 1
Dependent repositories: 3
Downloads: 140 last month
Affected Version Ranges: <= 1.17.1
Fixed in: 1.17.2
All affected versions: 0.4.3, 0.6.1, 0.7.0, 0.8.2, 1.4.0
All unaffected versions: