Vulnerability · Published Dec 5, 2022 · Assigned by GitHub_M

CVE-2022-46164Account takeover via prototype vulnerability

Critical 9.4

In plain English

A critical-severity security flaw in NodeBB from NodeBB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 47.4% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.4Critical
Exploit odds (30 days)47.4%top 1.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

NodeBB is an open source Node.js based forum software. Due to a plain object with a prototype being used in socket.io message handling a specially crafted payload can be used to impersonate other users and takeover accounts. This vulnerability has been patched in version 2.6.1. Users are advised to upgrade. Users unable to upgrade may cherry-pick commit `48d143921753914da45926cca6370a92ed0c46b8` into their codebase to patch the exploit.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmnodebb2.6.1GHSA-rf3g-v8p5-p675

Affected products (as reported)

VendorProductVersions
NodeBB NodeBB < 2.6.1

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

References