{"id":"CVE-2022-36076","published":"2022-09-02T12:30:14Z","modified":"2025-04-22T17:40:41Z","title":"Account takeover via SSO plugins in NodeBB","vendor":"NodeBB","product":"NodeBB","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00593,"percentile":0.49298,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://blogs.opera.com/security/2022/03/bug-bounty-adventures-a-nodebb-0-day/","tags":["x_refsource_MISC"]},{"url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-xmgg-fx9p-prq6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/NodeBB/NodeBB/commit/a2400f6baff44cb2996487bcd0cc6e2acc74b3d4","tags":["x_refsource_MISC"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":9.86},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"nodebb","affectedVersions":[{"vendor":"NodeBB","product":"NodeBB","versions":["< 1.17.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-22T15:42:28.839748Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"nodebb","vulnerableRanges":["<1.17.2"],"patched":["1.17.2"],"from":["GHSA-xmgg-fx9p-prq6"],"provenance":"source"}],"summary":{"text":"The flaw is in NodeBB, a Node.js forum platform, within its single sign-on (SSO) handling: a conditional in the first step of the SSO flow rendered the nonce check opt-in rather than opt-out, re-exposing a session-related weakness classed as cross-site request forgery. An attacker positioned as a man-in-the-middle, without needing an account or privileges on the target, and requiring the victim to take a user interaction, could in theory take over another user's account during the SSO process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:24:12Z"},"euvd":{"id":"EUVD-2022-6979","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nodebb-cve-2021-43786","parents":[{"from":"CVE-2021-43786","to":"CVE-2022-36076","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/routes/authentication.js"],"commits":["https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500","https://github.com/NodeBB/NodeBB/commit/a2400f6baff44cb2996487bcd0cc6e2acc74b3d4"],"basis":"rarely changed file"}]}]}}