Vulnerability Details : CVE-2021-43787
Nodebb is an open source Node.js based forum software. In affected versions a prototype pollution vulnerability in the uploader module allowed a malicious user to inject arbitrary data (i.e. javascript) into the DOM, theoretically allowing for an account takeover when used in conjunction with a path traversal vulnerability disclosed at the same time as this report. The vulnerability has been patched as of v1.18.5. Users are advised to upgrade as soon as possible.
Vulnerability category: Cross site scripting (XSS)Directory traversal
Products affected by CVE-2021-43787
- cpe:2.3:a:nodebb:nodebb:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-43787
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 47 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-43787
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:N |
8.6
|
2.9
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST | |
9.0
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
2.3
|
6.0
|
GitHub, Inc. |
CWE ids for CVE-2021-43787
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
-
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2021-43787
-
https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/
NodeBB 1.18.4 - Remote Code Execution With One ShotExploit;Third Party Advisory
-
https://github.com/NodeBB/NodeBB/commit/1783f918bc19568f421473824461ff2ed7755e4c
fix: guard against prototype pollution · NodeBB/NodeBB@1783f91 · GitHubPatch;Third Party Advisory
-
https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5
Release v1.18.5 · NodeBB/NodeBB · GitHubPatch;Release Notes;Third Party Advisory
-
https://github.com/NodeBB/NodeBB/security/advisories/GHSA-wx69-rvg3-x7fc
XSS via prototype pollution · Advisory · NodeBB/NodeBB · GitHubPatch;Third Party Advisory
Jump to