PT-2022-27780 · Nodebb · Nodebb

Julianlam

+1

·

Published

2022-12-05

·

Updated

2023-09-29

·

CVE-2022-46164

CVSS v3.1

9.4

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Name of the Vulnerable Software and Affected Versions NodeBB versions prior to 2.6.1
Description The issue arises from a plain object with a prototype being used in socket.io message handling, allowing a specially crafted payload to impersonate other users and takeover accounts.
Recommendations For versions prior to 2.6.1, upgrade to version 2.6.1 to patch the exploit. As a temporary workaround for users unable to upgrade, cherry-pick commit 48d143921753914da45926cca6370a92ed0c46b8 into their codebase to patch the exploit.

Exploit

Fix

Improper Initialization

Weakness Enumeration

Related Identifiers

CVE-2022-46164
GHSA-RF3G-V8P5-P675

Affected Products

Nodebb