PT-2022-27780 · Nodebb · Nodebb
Julianlam
+1
·
Published
2022-12-05
·
Updated
2023-09-29
·
CVE-2022-46164
CVSS v3.1
9.4
Critical
| Vector | AV: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
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Nodebb