Access Restriction Bypass Affecting nodebb package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    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 ID SNYK-JS-NODEBB-8384073
  • published 19 Nov 2024
  • disclosed 29 Mar 2024
  • credit Vibhor Sharma

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
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    Low
  • Availability (VA)
    Low
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None