CVE-2023-26045: NodeBB vulnerable to path traversal and code execution via prototype vulnerability
Impact Due to the use of the object destructuring assignment syntax in the user export code path, combined with a path traversal vulnerability, a specially crafted payload could invoke the user export logic to arbitrarily execute javascript files on the local disk.
Patches Patched in v2.8.7
Workarounds Site maintainers can cherry pick ec58700f6dff8e5b4af1544f6205ec362b593092 into their codebase to patch the exploit.
Other sources
NodeBB is Node.js based forum software. Starting in version 2.5.0 and prior to version 2.8.7, due to the use of the object destructuring assignment syntax in the user export code path, combined with a path traversal vulnerability, a specially crafted payload could invoke the user export logic to arbitrarily execute javascript files on the local disk. This issue is patched in version 2.8.7. As a workaround, site maintainers can cherry pick the fix into their codebase to patch the exploit.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2023-26045?
CVE-2023-26045 is a vulnerability in NodeBB, a Node.js based forum software, which allows for path traversal and remote code execution.
What is the impact of CVE-2023-26045?
CVE-2023-26045 can be exploited to invoke the use of malicious payloads, leading to remote code execution.
How severe is CVE-2023-26045?
CVE-2023-26045 has a severity rating of 10 (Critical).
How do I know if I am affected by CVE-2023-26045?
If you are using NodeBB version 2.5.0 to 2.8.7, you may be affected by CVE-2023-26045.
How can I mitigate CVE-2023-26045?
To mitigate CVE-2023-26045, you should upgrade NodeBB to version 2.8.7 or later.