critical9.4
CVE-2022-46164
NodeBB vulnerable to account takeover via prototype vulnerability
Impact
### Impact 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. ### Patches Patched in 2.6.1 ### Workarounds Site maintainers can cherry-pick https://github.com/NodeBB/NodeBB/commit/48d143921753914da45926cca6370a92ed0c46b8 into their codebase to patch the exploit. ### For more information If you have any questions or comments about this advisory: Discuss it on [our community forum](https://github.com/NodeBB/NodeBB/security/advisories/community.nodebb.org/) Email us at [support@nodebb.org](mailto:support@nodebb.org)
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | nodebb | < 2.6.1 | 2.6.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Nodebb | Nodebb | before 2.6.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/NodeBB/NodeBB/commit/48d143921753914da45926cca6370a92ed0c46b8
- https://github.com/NodeBB/NodeBB/security/advisories/GHSA-rf3g-v8p5-p675
- https://github.com/advisories/GHSA-rf3g-v8p5-p675
- https://nvd.nist.gov/vuln/detail/CVE-2022-46164
- https://github.com/NodeBB/NodeBB/releases/tag/v2.6.1