Advisory

GHSA-rf3g-v8p5-p675

Also known as: CVE-2022-46164

Summary

NodeBB vulnerable to account takeover via prototype vulnerability

Details

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]](mailto:[email protected])

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-12-05 23:06 UTC
Modified
2023-11-08 04:10 UTC

Affected packages and fixes

nodebb

npm · All systems

Affected

  • introduced 0, fixed 2.6.1 (semver)

Fixed versions

2.6.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences