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

CVE-2024-50333

CVE-2024-50333 Supply Chain Attack in Suitecrm
📅 PUBLISHED: 2024-11-05 18:41 UTC 🔄 UPDATED: 2026-09-23 20:25 UTC
[ OFFICIAL PATCH DEPLOYED ↓ ] FIX: LIKELY — 2 independent sources confirm fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.40%
👁️
0.40% probability
10.1× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
Patch available — upgrade to latest release
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.6
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-50333 is a critical vulnerability in SuiteCRM, an open-source CRM application. The flaw resides in the ParserLabel::addLabels() function, which fails to validate user input before writing it to a custom language file. This allows an authenticated attacker to inject arbitrary content into the file, which is then included at runtime. Successful exploitation could lead to code execution, data manipulation, or other malicious activities. The vulnerability affects versions prior to 7.14.6 and 8.7.1. No public proof-of-concept (PoC) or exploit code is currently available, and the EPSS score is 0.0%, indicating low exploitation activity. However, the potential impact is significant, and immediate patching is recommended.

⚡ 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

SuiteCRM is a PHP-based application distributed via GitHub and its official website. The vulnerability is not related to a package manager (NPM, PyPI, Go, Ruby) but is a direct code flaw. Users should verify the integrity of their SuiteCRM installation and ensure they are using official sources.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.6 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
  • Attack Vector (AV): Network (N) - The vulnerability can be exploited remotely.
  • Attack Complexity (AC): Low (L) - No special conditions are required.
  • Privileges Required (PR): Low (L) - An attacker needs a valid user account.
  • User Interaction (UI): None (N) - No user action is needed.
  • Scope (S): Unchanged (U) - The vulnerable component and the impacted component are the same.
  • Confidentiality (C): Low (L) - Limited information disclosure.
  • Integrity (I): Low (L) - Limited data modification.
  • Availability (A): Low (L) - Limited service disruption.

Threat Level: Medium. While the CVSS score is 6.6, the ability to write arbitrary content to a runtime-included file elevates the risk. An attacker could potentially escalate this to full code execution.

Deep Dive & Mechanics

The vulnerability is a classic case of improper input validation (CWE-20). The ParserLabel::addLabels() function is designed to allow administrators to add custom language labels to the CRM. However, it does not sanitize or validate the user-supplied label values before writing them to a PHP file on the filesystem.

How it works:

  1. An authenticated user with appropriate privileges (e.g., an admin) accesses the label management functionality.
  2. The user submits a new label with a key and a value.
  3. The addLabels() function takes the value and writes it directly into a custom language file (e.g., custom/Extension/modules/Accounts/Ext/Language/en_us.custom.php).
  4. This file is then included by SuiteCRM during runtime to load the custom labels.
  5. An attacker can inject PHP code into the label value. For example, a value like '; system($_GET['cmd']); // would be written to the file.
  6. When the file is included, the injected PHP code is executed, giving the attacker control over the server.

Root Cause: The lack of input validation and the direct inclusion of user-controlled data into a PHP file.

Vulnerable vs. Patched Code

Vulnerable Code (Example from SuiteCRM < 7.14.6 / < 8.7.1):

// In ParserLabel.php
public function addLabels($labels, $module, $language = 'en_us')
{
    // ... some code ...
    $contents = "<?php\n// created: " . date('Y-m-d H:i:s') . "\n";
    foreach ($labels as $key => $value) {
        // No validation of $value
        $contents .= "\$app_list_strings['$module']['$key'] = '$value';\n";
    }
    // ... write $contents to file ...
}

Patched Code (SuiteCRM 7.14.6 / 8.7.1):

// In ParserLabel.php
public function addLabels($labels, $module, $language = 'en_us')
{
    // ... some code ...
    $contents = "<?php\n// created: " . date('Y-m-d H:i:s') . "\n";
    foreach ($labels as $key => $value) {
        // Validate and sanitize $value
        $value = addslashes($value); // Or use a more robust sanitization
        $contents .= "\$app_list_strings['$module']['$key'] = '$value';\n";
    }
    // ... write $contents to file ...
}

The patched code uses addslashes() to escape special characters, preventing PHP injection. A more secure approach would be to use var_export() or a dedicated sanitization function.

Exploitation & Lab Setup

Red Team (Attacker)

Prerequisites:

  • A valid SuiteCRM user account with admin privileges.
  • Network access to the SuiteCRM instance.

Steps:

  1. Login: Authenticate to SuiteCRM as an admin.
  2. Navigate to Label Management: Go to Admin -> Studio -> [Any Module] -> Labels.
  3. Add Malicious Label: Create a new label with a key (e.g., x) and a value containing PHP code. For example:
    • Key: x
    • Value: '; system($_GET['cmd']); //
  4. Save: Submit the label. The malicious code is written to the custom language file.
  5. Trigger Execution: Access any page that includes the custom language file. Then, execute commands by appending ?cmd=id to the URL.

Example Payload:

'; echo shell_exec($_GET['c']); //

Lab Setup:

  • Environment: Docker container running SuiteCRM 7.14.5.
  • Tools: Burp Suite, browser, netcat.
  • Steps:
    1. Deploy SuiteCRM using the official Docker image.
    2. Create an admin user.
    3. Use Burp Suite to intercept and modify the label submission request.
    4. Inject the payload.
    5. Verify code execution by accessing a page and passing the c parameter.

Blue Team (Defender)

Detection:

  • Monitor for unusual label creation or modification events.
  • Look for PHP code in label values.
  • Check for unexpected files in the custom/Extension/ directory.

Prevention:

  • Apply the patch immediately.
  • Implement Web Application Firewall (WAF) rules to block PHP code in input fields.
  • Restrict admin privileges to trusted users only.

Response:

  • If exploitation is suspected, isolate the server.
  • Review logs for suspicious activity.
  • Remove any malicious custom language files.
  • Reset all admin passwords.

Indicators of Compromise (IOCs)

  • File System:
    • Unexpected PHP files in custom/Extension/modules/*/Ext/Language/.
    • Files containing PHP code like system(), shell_exec(), eval(), etc.
  • Network:
    • Outbound connections from the SuiteCRM server to unknown IPs.
    • Unusual HTTP requests with cmd or similar parameters.
  • Logs:
    • SuiteCRM audit logs showing label creation with suspicious values.
    • Web server logs showing requests to pages with injected parameters.

Detection Engineering

YARA Rule

rule CVE_2024_50333_SuiteCRM_Label_Injection {
    meta:
        description = "Detects PHP code injection in SuiteCRM custom language files"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "CVE-2024-50333"
    strings:
        $php_code = /system\(|shell_exec\(|exec\(|passthru\(|eval\(/
        $label_file = /custom\/Extension\/modules\/.*\/Ext\/Language\/.*\.php/
    condition:
        $label_file and $php_code
}

Sigma Rule

title: SuiteCRM Custom Language File PHP Injection
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects creation of custom language files containing PHP code in SuiteCRM
author: Valters IT
date: 2024-01-01
logsource:
    category: file_event
    product: linux
detection:
    selection:
        TargetFilename|contains: 'custom/Extension/modules/'
        TargetFilename|endswith: '.php'
        TargetFilename|contains: 'Ext/Language/'
    condition: selection
falsepositives:
    - Legitimate custom language file creation by administrators
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-50333 SuiteCRM Label Injection"; flow:to_server,established; content:"POST"; http_method; content:"/index.php"; http_uri; content:"entryPoint=SaveLabel"; http_client_body; pcre:"/(system|shell_exec|exec|passthru|eval)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Upgrade SuiteCRM: Update to version 7.14.6 or 8.7.1 immediately.
  2. Review Custom Files: Check the custom/Extension/ directory for any suspicious files and remove them.
  3. Change Admin Passwords: Reset all admin account passwords.

Long-Term Mitigations:

  • Implement strict input validation for all user-supplied data.
  • Use a Web Application Firewall (WAF) to filter malicious input.
  • Regularly audit SuiteCRM installations for vulnerabilities.
  • Follow the principle of least privilege for user accounts.

Workarounds:

  • No official workarounds are available. Patching is the only solution.

Report generated by Valters IT DevSecOps & CTI Division

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-50333/ · 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.