GitHub Advisoryadvisory · npm
GHSA-rf3g-v8p5-p675 NodeBB vulnerable to account takeover via prototype vulnerability
CRITICAL
Official page ↗
- Aliases
- CVE-2022-46164
- Ecosystem
- npm
- Packages
- nodebb
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
- Weaknesses
- CWE-665
- Reviewed
- 2022-12-05
Affected packages
• npm nodebb: < 2.6.1 → fixed in 2.6.1
Description
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
Email us at [email protected]
Related
Alias · CVE (1)
- CVE-2022-46164 NodeBB is an open source Node.js based forum software. vulnerability
Weakness · CWE (1)
- CWE-665 Improper Initialization weakness
References
- https://github.com/NodeBB/NodeBB/security/advisories/GHSA-rf3g-v8p5-p675 web
- https://nvd.nist.gov/vuln/detail/CVE-2022-46164 advisory
- https://github.com/NodeBB/NodeBB/commit/48d143921753914da45926cca6370a92ed0c46b8 web
- https://github.com/NodeBB/NodeBB package
- https://github.com/NodeBB/NodeBB/releases/tag/v2.6.1 web