Quick answers
- Is CVE-2021-43786 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2021-43786 being exploited in the wild.
- How severe is CVE-2021-43786?
- Low severity, with a CVSS score of 3.1, published 30 November 2021.
- Which products and versions are affected?
- NodeBB 1.15.0 to 1.18.4.
- Is there a fix for CVE-2021-43786?
- A patch was published on 2021-11-30: Fixed in v1.18.5 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2021-43786 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2021-43786?
- Check whether you run NodeBB at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability is an authentication bypass (CWE-287) in NodeBB's token verification logic that incorrectly permits master token access to the API. An unauthenticated attacker on the network can exploit this flaw without user interaction to bypass API token verification and obtain master token privileges. This grants full administrative access to the NodeBB instance and its API. The issue affects versions 1.15.0 through 1.18.4 and has been patched in v1.18.5; a targeted commit (04dab1d550cdebf4c1567bca9a51f8b9ca48a500) is available for cherry-picking.
Affected products
- NodeBB NodeBB 1.15.0 to 1.18.4
Identifiers
- CVE-2021-43786
- GHSA-hf2m-j98r-4fqw
Timeline
- 2021-11-30: disclosed
- 2021-11-30: patched: Fixed in v1.18.5