☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2024-29316

CVE-2024-29316 Supply Chain Attack in Nodebb
📅 PUBLISHED: 2024-03-28 00:00 UTC 🔄 UPDATED: 2026-09-24 05:59 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.43%
👁️
0.43% probability
10.8× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
Country: Canada License: Open Source
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
6.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-29316 is an Incorrect Access Control vulnerability in NodeBB version 3.6.7. The flaw allows a low-privileged attacker to escalate their privileges to the Admin group by manipulating the isadmin parameter to true in a request. This bypasses the intended role-based access controls, granting unauthorized access to restricted administrative tabs and functions. The vulnerability has a public proof-of-concept (PoC) but no official patch or CVSS vector has been assigned by the vendor. The EPSS score is 0.0%, indicating low exploitation likelihood in the wild, but the simplicity of the exploit makes it a high-priority target for red team exercises.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

NodeBB is an open-source Node.js forum software distributed via npm. The vulnerability exists in the core application logic, not in a third-party dependency. However, organizations using NodeBB should verify their deployment version and apply any available security updates from the official GitHub repository or npm registry. No malicious packages have been identified in the supply chain related to this CVE.

CVSS Breakdown & Threat Level

CVSS Score: 0.0 (Unassigned by NVD)
CVSS Vector: UNKNOWN
Threat Level: High (based on exploit simplicity and impact)

Rationale:

  • Attack Vector (AV): Network – the exploit can be triggered remotely.
  • Attack Complexity (AC): Low – no special conditions required.
  • Privileges Required (PR): Low – attacker needs a valid low-privileged account.
  • User Interaction (UI): None – no victim action needed.
  • Scope (S): Changed – the attacker gains access to a different privilege level (Admin).
  • Confidentiality (C): High – full read access to admin data.
  • Integrity (I): High – ability to modify forum settings and content.
  • Availability (A): High – potential to disrupt forum operations.

Deep Dive & Mechanics

The vulnerability resides in NodeBB’s access control middleware. When a user makes a request to a restricted administrative endpoint, the server checks the user’s role. However, due to improper validation of the isadmin parameter in the request body or query string, a low-privileged user can set "isadmin":true to bypass the check. The server trusts this client-supplied value instead of verifying the user’s actual role from the session or database.

Root Cause:
The application uses a conditional check like if (user.isadmin) without ensuring that user.isadmin is derived from the server-side session. An attacker can inject isadmin: true in a POST request or URL parameter, and the server incorrectly merges it into the user object.

Attack Flow:

  1. Attacker registers or logs in as a low-privileged user (e.g., "Member").
  2. Attacker sends a request to an admin-only endpoint (e.g., /admin/settings) with the payload {"isadmin": true} in the request body.
  3. The server processes the request, sees isadmin: true, and grants access to the admin panel.
  4. Attacker can now modify forum settings, create/delete users, or execute arbitrary code via plugin uploads.

Vulnerable vs. Patched Code

Vulnerable Code (NodeBB 3.6.7):

// middleware/authorization.js (simplified)
function requireAdmin(req, res, next) {
    if (req.user.isadmin) {
        next();
    } else {
        res.status(403).send('Forbidden');
    }
}

Patched Code (Hypothetical Fix):

// middleware/authorization.js (patched)
function requireAdmin(req, res, next) {
    // Always fetch user from database, never trust client input
    db.getUser(req.user.uid, function(err, user) {
        if (user && user.isadmin) {
            next();
        } else {
            res.status(403).send('Forbidden');
        }
    });
}

Explanation:
The vulnerable code trusts the req.user object which may have been polluted by client-supplied data. The patched version fetches the user’s actual role from the database, ignoring any client-side manipulation.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • NodeBB 3.6.7 instance (e.g., Docker container)
  • Low-privileged user account (e.g., username: attacker, password: password123)
  • Session cookie for the attacker

Exploit Steps:

  1. Log in as the low-privileged user and capture the session cookie.
  2. Send a POST request to /admin/settings with the following payload:
curl -X POST http://target.com/admin/settings \
  -H "Cookie: express.sid=<SESSION_COOKIE>" \
  -H "Content-Type: application/json" \
  -d '{"isadmin": true}'
  1. If successful, the server will return the admin settings page.
  2. Further escalate by uploading a malicious plugin or modifying system configurations.

Alternative Exploit (Query String):

curl "http://target.com/admin/settings?isadmin=true" \
  -H "Cookie: express.sid=<SESSION_COOKIE>"

Blue Team (Detection & Hardening)

Detection:

  • Monitor for requests to /admin/* endpoints from non-admin users.
  • Alert on any request containing isadmin=true in the body or query string.
  • Review server logs for 403 errors followed by 200 responses on admin endpoints.

Hardening:

  • Apply input validation to strip isadmin from all user-supplied data.
  • Use server-side session validation for all privilege checks.
  • Deploy a Web Application Firewall (WAF) rule to block requests with isadmin parameter.

Indicators of Compromise (IOCs)

Network IOCs:

  • HTTP requests to /admin/* with isadmin=true in body or query string.
  • Unusual POST requests to /admin/settings from low-privileged user sessions.

Host IOCs:

  • Unexpected changes to forum settings (e.g., new admin accounts, modified email config).
  • Presence of unknown plugins or themes in the nodebb/plugins directory.
  • Log entries showing isadmin parameter in request logs.

Log Patterns:

POST /admin/settings HTTP/1.1
Content-Type: application/json
{"isadmin": true}

Detection Engineering

YARA Rule

rule CVE_2024_29316_NodeBB_AccessControl {
    meta:
        description = "Detects attempts to exploit CVE-2024-29316 in NodeBB"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2024-29316"
    strings:
        $isadmin = "isadmin" nocase
        $admin_path = "/admin/" nocase
    condition:
        $isadmin and $admin_path
}

Sigma Rule

title: NodeBB Admin Access Control Bypass via isadmin Parameter
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects HTTP requests to NodeBB admin endpoints containing the isadmin parameter, indicating a potential CVE-2024-29316 exploitation attempt.
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
    service: access
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 'isadmin=true'
        cs-uri-stem|startswith: '/admin/'
    condition: selection
falsepositives:
    - Legitimate admin users (rare, as admin users do not need to pass isadmin)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-29316 NodeBB Admin Access Control Bypass"; flow:to_server,established; content:"POST"; http_method; content:"/admin/"; http_uri; content:"isadmin"; http_client_body; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Upgrade NodeBB to the latest patched version (if available) or apply the vendor’s hotfix.
  2. Restrict network access to the NodeBB admin panel (e.g., VPN or IP whitelist).
  3. Disable low-privileged accounts until the vulnerability is patched.

Long-Term Fixes:

  • Implement server-side role validation that never trusts client-supplied data.
  • Conduct a code review of all authorization middleware.
  • Add automated security testing (SAST/DAST) to the CI/CD pipeline.

Workaround (if patching is not possible):

  • Use a reverse proxy (e.g., Nginx) to block requests containing isadmin in the body or query string:
location /admin/ {
    if ($request_body ~* "isadmin") {
        return 403;
    }
    proxy_pass http://nodebb_backend;
}

Valters IT
DevSecOps & Cyber Threat Intelligence Division
Report generated for CVE-2024-29316

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-29316/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.