CVE Professor
/
All CVEs
CVE-2026-137330

CVE-2026-137330 — VBulletin — CWE-502

CRITICAL CVSS 9.8 CVE.org

vBulletin before 6.2.2 Patch Level 1, 6.2.3 Patch Level 1 and 6.2.4 Patch Level 1 contains a PHP object injection vulnerability in BBCode attachment settings parsed via the contententry_editor render endpoint. Unauthenticated attackers can send an [ATTACH=CONFIG] tag with a serialized object chain passed to unserialize() to call arbitrary PHP functions and execute operating system commands.

vBulletin before 6.2.2 Patch Level 1, 6.2.3 Patch Level 1 and 6.2.4 Patch Level 1 contains a PHP object injection vulnerability in BBCode attachment settings parsed via the contententry_editor render endpoint. Unauthenticated attackers can send an [ATTACH=CONFIG] tag with a serialized object chain passed to unserialize() to call arbitrary PHP functions and execute operating system commands.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. High VA:H
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
AI Security Analysis & Remediation

🎯 What is this vulnerability?

This vulnerability is a Critical Unauthenticated Remote Code Execution (RCE) flaw classified under CWE-502: Deserialization of Untrusted Data.

The technical root cause lies in the contententry_editor rendering endpoint of vBulletin. The application fails to sanitize or validate the input passed to the BBCode parser for attachment settings. Specifically, when the parser encounters the [ATTACH=CONFIG] tag, it extracts the content within the tag and passes it directly to PHP's unserialize() function without verifying that the data is a safe, expected data structure (such as a simple string or array).

Because the endpoint is accessible without authentication (PR:N) and requires no user interaction (UI:N), an attacker can inject a malicious serialized PHP object chain (Gadget Chain). When unserialize() reconstructs these objects, PHP triggers magic methods (such as __wakeup(), __destruct(), or __toString()), which the attacker has crafted to execute arbitrary system commands via functions like system(), exec(), or passthru().

⚡ Attack Chain

1. Discovery & Reconnaissance

  • Fingerprinting: The attacker identifies the target as running vBulletin. This can be done by checking the X-Powered-By header, examining the HTML source for vBulletin-specific meta tags, or looking for the /forum/ directory structure.
  • Version Verification: The attacker determines the version is prior to 6.2.2 PL1, 6.2.3 PL1, or 6.2.4 PL1. This can often be found in the footer of the forum, the robots.txt file, or by checking the vBulletin version string in the page source.
  • Endpoint Identification: The attacker identifies the contententry_editor render endpoint. While the exact URI path is not explicitly defined in the CVE description, in vBulletin 6.x, this is typically associated with the AJAX endpoints used for the rich text editor, such as /ajax.php or a specific REST route like /api/v1/contententry/editor/render. Note: The specific URI below is an illustrative example based on standard vBulletin 6.x architecture.*

    2. Exploitation

    The attacker crafts a payload containing a serialized PHP object chain. Since the exact gadget chain depends on the specific PHP version and vBulletin internal classes, the payload below is a structural illustration of the vulnerability mechanics.

    Illustrative Payload Structure:
    The attacker sends a POST request to the render endpoint with a content parameter containing the malicious BBCode tag.

    POST /ajax.php?do=renderContentEntry HTTP/1.1
    Host: target-vbulletin.com
    Content-Type: application/x-www-form-urlencoded
    
    content=[ATTACH=CONFIG]O:4:"Gadget":1:{s:10:"command";s:10:"id; whoami";}</ATTACH>

    Technical Breakdown of the Payload:
    1. [ATTACH=CONFIG]: Triggers the specific code path in the BBCode parser that handles attachment configuration.
    2. O:4:"Gadget":1:{...}: A serialized PHP object. In a real exploit, Gadget would be replaced by a legitimate vBulletin class (e.g., vB_Database, vB_Http_Request, or a custom class) that has a dangerous magic method.
    3. s:10:"command";s:10:"id; whoami";: The property value that gets triggered during deserialization to execute the OS command.

    Curl Command (Illustrative):

    # Note: Replace 'Gadget' and the object structure with the actual vBulletin 6.x gadget chain.
    curl -X POST "http://target-vbulletin.com/ajax.php?do=renderContentEntry" \
      -H "Content-Type: application/x-www-form-urlencoded" \
      --data-urlencode 'content=[ATTACH=CONFIG]O:18:"vB_Database_Select":1:{s:10:"command";s:10:"id > /tmp/pwned";}</ATTACH>'

    Crucial Note: The attacker must identify the specific "Gadget Chain" available in the target's vBulletin version. This involves analyzing the PHP source code of vBulletin 6.2.x to find classes with __destruct(), __wakeup(), or __toString() methods that can lead to code execution.

    3. Post-Exploitation

    1. Command Execution: The OS command (e.g., id, whoami, cat /etc/passwd) is executed by the web server user (typically www-data or apache). 2. Output Retrieval: The attacker may use techniques like DNS exfiltration, base64 encoding the output and sending it back in the HTTP response, or writing to a web-accessible directory. 3. Webshell Deployment: The attacker executes a command to write a PHP webshell to the web root:
    echo '<?php system($_GET["cmd"]);' > /var/www/html/shell.php

    4. Persistence & Lateral Movement: With RCE, the attacker can:
    * Read the config.php file to obtain database credentials.
    * Access the vBulletin database to steal user data, passwords (if hashed weakly), and forum content.
    * Pivot to internal network resources if the web server has network access.
    * Install rootkits or modify system files to maintain persistence.

    🌍 Real World Impact

  • Confidentiality (High): Complete compromise of the database. Attackers can exfiltrate all user accounts, private messages, and forum content. Database credentials can be used to attack other systems.
  • Integrity (High): Attackers can modify forum posts, delete data, alter user permissions, or inject malicious content into the forum. They can also modify the application code itself.
  • Availability (High): Attackers can delete critical files, drop databases, or consume system resources (DoS) to take the forum offline.
  • Practical Consequences:
  • * Data Breach: Massive exposure of PII (Personally Identifiable Information) of forum users. * Reputational Damage: Loss of trust in the platform. * Legal Liability: Potential GDPR/CCPA violations due to data breach. * Malware Distribution: The forum can be used to distribute malware to visitors.

    🛡️ Remediation & Mitigation

    1. Patching (Primary Remediation)

  • Upgrade Immediately: Update vBulletin to 6.2.2 Patch Level 1, 6.2.3 Patch Level 1, or 6.2.4 Patch Level 1 or later.
  • Verify Installation: After applying the patch, verify that the unserialize() call in the BBCode parser is now protected by a whitelist of allowed classes or by using json_decode instead of unserialize for this specific context.
  • 2. Workarounds (If Patching is Delayed)

  • Disable the Vulnerable Feature: If possible, disable the attachment configuration feature in the BBCode parser via configuration settings (if available).
  • WAF Rules: Deploy a Web Application Firewall rule to block requests containing serialized PHP objects in the content parameter of the render endpoint.
  • ModSecurity Rule (Illustrative):

    SecRule REQUEST_BODY "@rx \[ATTACH=CONFIG\]O:" \
        "id:100001,\
        phase:2,\
        block,\
        msg:'Possible PHP Object Injection in BBCode Attach Config',\
        logdata:'%{REQUEST_BODY}',\
        severity:2,\
        tag:'application-multi',\
        tag:'language-php',\
        tag:'attack-code-injection',\
        tag:'OWASP_CRS',\
        tag:'capec/1000/152/245'"
  • Access Restriction: Restrict access to the contententry_editor render endpoint to authenticated users only, if the business logic allows. This can be done via .htaccess or reverse proxy rules.
  • 3. Detection & IoCs

  • Web Server Logs: Look for POST requests to the render endpoint containing the string [ATTACH=CONFIG] followed by O: (serialized object prefix).
  • * Example Log Pattern: POST /ajax.php?do=renderContentEntry ... content=[ATTACH=CONFIG]O:4:"Gadget"...
  • File System: Check for unexpected PHP files in the web root, especially those created recently with names like shell.php, cmd.php, or random alphanumeric names.
  • Process Monitoring: Monitor for the web server process (apache, nginx, php-fpm) spawning shell processes (/bin/sh, /bin/bash) or executing commands like id, whoami, cat, curl, or wget.
  • Database Logs: Look for unusual queries, such as SELECT FROM vbulletin_user or DROP TABLE, executed by the web server user.

    ⚠️ Urgency

  • CVSS Score: 9.8 (Critical)
  • Exploitability: High. The vulnerability is unauthenticated, network-accessible, and requires low complexity. Public exploit code is likely to emerge quickly given the severity and the commonality of vBulletin.
  • CISA KEV Status: No (as of the provided data). However, this does not reduce the urgency.
  • Patching Priority: IMMEDIATE. This is a "drop everything" patch. All vBulletin instances should be updated to the patched versions within 24 hours. If immediate patching is not possible, the vulnerable endpoint must be blocked at the WAF or reverse proxy level, and the forum should be taken offline if feasible.
[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

header="X-Powered-By" && header="PHP"
CVSS Score
9.8 / 10 · CVSS CRITICAL
Weakness Types (CWE)
Affected Products (1)
vBulletin:vBulletin (6.2.2 Patch Level 1)
Related CVEs
10.0
CVE-2026-130609
Deserialization of untrusted data vulnerability in DİA Yazılım Sanayi ve Ticaret A.Ş. DİA ERP allows Cros
8.7
CVE-2026-132098
Deserialization of untrusted data in the XStream reader used for push publishing bundles (XStreamHandler) in d
8.5
CVE-2026-144447
MassCube before 1.2.23 contains an insecure deserialization vulnerability that allows attackers to execute cod
8.5
CVE-2026-144450
galpy through 1.12.2 contains an insecure deserialization vulnerability that allows attackers to execute code
8.5
CVE-2026-144451
VIP (vip-hci) through 2.1.2 contains an unsafe deserialization vulnerability in Saveable.load that allows atta
7.7
CVE-2026-120765
Deserialization of untrusted data in the Redis cache and pub/sub codecs in dotCMS versions before 26.11.02-01
7.5
CVE-2026-120107
Deserialization of untrusted data in the Apps secrets import (POST /api/v1/apps/import, and the dotAuth import