{"id":"CVE-2021-43786","published":"2021-11-29T19:30:17Z","modified":"2024-08-04T04:03:08Z","title":"API token verification can be bypassed","vendor":"NodeBB","product":"NodeBB","tier":"tail","description":{"text":"Nodebb is an open source Node.js based forum software. In affected versions incorrect logic present in the token verification step unintentionally allowed master token access to the API. The vulnerability has been patch as of v1.18.5. Users are advised to upgrade as soon as possible.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02369,"percentile":0.84224,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-hf2m-j98r-4fqw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500","tags":["x_refsource_MISC"]},{"url":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/","tags":["x_refsource_MISC"]}],"priority":{"score":23.7,"factors":[{"name":"EPSS percentile","points":16.84},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"nodebb","affectedVersions":[{"vendor":"NodeBB","product":"NodeBB","versions":[">= 1.15.0, < 1.18.5"]}],"affected":[{"ecosystem":"npm","package":"nodebb","vulnerableRanges":[">=1.15.0, <1.18.5"],"patched":["1.18.5"],"from":["GHSA-hf2m-j98r-4fqw"],"provenance":"source"}],"summary":{"text":"The token verification step in NodeBB, an open source Node.js forum software, contains incorrect logic that unintentionally grants master token access to the API. An unauthenticated remote attacker can exploit this over the network without user interaction or privileges, gaining full access to the API.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:37:29Z"},"euvd":{"id":"EUVD-2021-2354","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nodebb-cve-2021-43786","children":[{"from":"CVE-2021-43786","to":"CVE-2022-36076","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/routes/authentication.js"],"commits":["https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500","https://github.com/NodeBB/NodeBB/commit/a2400f6baff44cb2996487bcd0cc6e2acc74b3d4"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2015-9286","published":"2019-04-30","fixed":"0.8.2","kev":false},{"cve":"CVE-2015-3296","published":"2017-09-21","fixed":"0.70","kev":false},{"cve":"CVE-2022-36076","published":"2022-09-02","fixed":"1.17.2","kev":false},{"cve":"CVE-2021-43786","published":"2021-11-29","fixed":"1.18.5","kev":false},{"cve":"CVE-2021-43787","published":"2021-11-29","fixed":"1.18.5","kev":false},{"cve":"CVE-2021-43788","published":"2021-11-29","fixed":"1.18.5","kev":false},{"cve":"CVE-2022-36045","published":"2022-08-31","fixed":"2.0.1","kev":false,"link":{"from":"CVE-2021-43786","to":"CVE-2022-36045","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:nodebb","fromFixed":"1.18.5","toFixed":"1.19.8","daysApart":275}]}}],"package":"npm:nodebb"}}