Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-3144 Overview
CVE-2024-3144 is a cross-site request forgery (CSRF) vulnerability [CWE-352] in DedeCMS 5.7. The flaw resides in the /src/dede/makehtml_spec.php file within the content management system's administrative interface. An attacker can craft a malicious request that, when triggered by an authenticated administrator, performs unauthorized actions in the application context.
The exploit is publicly disclosed and can be launched remotely over the network. According to the disclosure, the DedeCMS vendor was contacted but did not respond. No official patch is currently available.
Critical Impact
Attackers can trick authenticated DedeCMS administrators into executing unintended state-changing requests, resulting in limited integrity impact on the CMS backend.
Affected Products
- DedeCMS 5.7
- makehtml_spec.php administrative script
- Deployments exposing the /src/dede/ administrative directory
Discovery Timeline
- 2024-04-02 - CVE-2024-3144 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-3144
Vulnerability Analysis
The vulnerability affects an unknown functionality within makehtml_spec.php, a script used by DedeCMS administrators to generate static HTML pages for special content types. The script does not verify the authenticity of incoming requests through anti-CSRF tokens or equivalent protections.
An attacker can host a crafted HTML page that automatically submits a request to the DedeCMS endpoint. If an authenticated administrator visits the attacker-controlled page, the browser sends the forged request along with valid session cookies. The DedeCMS backend processes the request as legitimate administrator activity.
Exploitation requires user interaction, which aligns with typical CSRF scenarios where a victim must load a malicious resource. The confidentiality impact is none, but integrity impact exists because an attacker can trigger administrative actions related to static page generation.
Root Cause
The root cause is missing CSRF protection on a state-changing administrative endpoint. The makehtml_spec.php handler relies solely on session cookies for authorization and does not validate a per-request synchronizer token or verify the Origin or Referer headers.
Attack Vector
The attack vector is network-based and requires an authenticated administrator to visit a page or follow a link controlled by the attacker. The attacker crafts an HTML form or auto-submitting JavaScript that targets the vulnerable endpoint. When the administrator's browser loads the attacker's content, it transmits a request to the DedeCMS backend using the victim's active session.
No verified proof-of-concept code is published in the enriched data. See the GitHub CMS Vulnerability Details and VulDB CVE Report #258919 for technical details.
Detection Methods for CVE-2024-3144
Indicators of Compromise
- Unexpected HTTP POST or GET requests to /src/dede/makehtml_spec.php with Referer headers pointing to external or unknown domains.
- Administrative actions in DedeCMS audit logs that do not correspond to deliberate administrator activity.
- Static HTML regeneration events occurring outside normal publishing windows.
Detection Strategies
- Inspect web server access logs for requests to makehtml_spec.php where the Referer or Origin header is absent, empty, or does not match the DedeCMS site domain.
- Deploy a web application firewall (WAF) rule to flag cross-origin state-changing requests to /src/dede/ administrative scripts.
- Correlate administrator session activity with user-reported browsing to identify requests triggered by third-party pages.
Monitoring Recommendations
- Enable verbose logging on the DedeCMS backend to capture the full request context for administrative endpoints.
- Alert on administrative requests originating from browser referrers outside the trusted domain allowlist.
- Monitor for repeated requests to makehtml_spec.php from a single administrator session within short intervals, which may indicate automated CSRF chaining.
How to Mitigate CVE-2024-3144
Immediate Actions Required
- Restrict access to the /src/dede/ administrative directory using IP allowlists at the web server or firewall layer.
- Require administrators to log out of DedeCMS sessions before browsing untrusted sites, and enforce short session lifetimes.
- Review DedeCMS audit logs for unexpected static page generation events tied to makehtml_spec.php.
Patch Information
No official patch is available from the DedeCMS vendor. The vendor was reportedly contacted before disclosure but did not respond. Operators should track the VulDB CVE Report #258919 for future updates and consider migrating off DedeCMS 5.7 if a patch is not released.
Workarounds
- Apply a reverse proxy or WAF rule that rejects requests to makehtml_spec.php lacking a same-origin Referer or Origin header.
- Implement a custom CSRF token check in a web server module or application wrapper for /src/dede/ endpoints.
- Isolate administrative access to a separate browser profile or dedicated management workstation to reduce exposure to malicious cross-origin content.
# Example nginx configuration to block cross-origin requests to the vulnerable endpoint
location = /src/dede/makehtml_spec.php {
if ($http_referer !~* "^https?://your-dedecms-domain\.example/") {
return 403;
}
# Pass to PHP handler
include fastcgi_params;
fastcgi_pass unix:/var/run/php-fpm.sock;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

