Access Restriction Bypass Affecting nodebb package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NODEBB-8384073
  • published19 Nov 2024
  • disclosed29 Mar 2024
  • creditVibhor Sharma

Introduced: 29 Mar 2024

CVE-2024-29316  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

nodebb is a package that utilizes web sockets for instant interactions and real-time notifications.

Affected versions of this package are vulnerable to Access Restriction Bypass due to improper enforcement of access controls. An attacker can gain unauthorized access to restricted administrative tabs by exploiting this vulnerability.

PoC

  1. The user with the least privileges needs to navigate to the group section;

  2. Intercept the response for the group requests;

  3. In the response modify certain parameters: “system”:0,”private”:0,”isMember”:true,”isPending”:true,”isInvited”:true,”isOwner”:true,”isAdmin”:true, “;

  4. Forward the request and see that the attacker can access the restricted information.

CVSS Scores

version 4.0
version 3.1