PT-2023-4083 · Nodebb · Nodebb

·

CVE-2023-26045

·

Published

2023-07-24

·

Updated

2023-09-26

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions NodeBB versions 2.5.0 through 2.8.7
Description The issue arises due to the use of object destructuring assignment syntax in the user export code path, combined with a path traversal vulnerability. This allows a specially crafted payload to invoke the user export logic and arbitrarily execute javascript files on the local disk.
Recommendations For NodeBB versions 2.5.0 through 2.8.7, update to version 2.8.7 to patch the exploit. As a temporary workaround, site maintainers can cherry pick the fix into their codebase to patch the exploit.

Exploit

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2023-04383
CVE-2023-26045
GHSA-VH2G-6C4X-5HMP

Affected Products

Nodebb