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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | nodebb | 2.6.1 | GHSA-rf3g-v8p5-p675 |
Affected products (as reported)
Weakness: CWE-665 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L