Vulnerability · Published Sep 2, 2022 · Assigned by GitHub_M

CVE-2022-36076Account takeover via SSO plugins in NodeBB

High 8.8

In plain English

A high-severity cross-site request forgery in NodeBB from NodeBB. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.6%top 52.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

NodeBB Forum Software is powered by Node.js and supports either Redis, MongoDB, or a PostgreSQL database. 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 Man-in-the-Middle (MITM) attack could theoretically take over another user account during the single sign-on process. The issue has been fully patched in version 1.17.2.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmnodebb1.17.2GHSA-xmgg-fx9p-prq6

Affected products (as reported)

VendorProductVersions
NodeBB NodeBB < 1.17.2

Weakness: CWE-352 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References