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-3146 Overview
CVE-2024-3146 is a cross-site request forgery (CSRF) vulnerability [CWE-352] in DedeCMS 5.7. The flaw resides in the /src/dede/makehtml_rss_action.php file, which fails to validate the origin of state-changing HTTP requests. An unauthenticated attacker can craft a malicious page that triggers privileged actions when an authenticated administrator visits it. The exploit has been publicly disclosed under VulDB identifier VDB-258921. The vendor was contacted about this issue but did not respond, leaving DedeCMS 5.7 installations exposed.
Critical Impact
Attackers can force authenticated DedeCMS administrators to execute unwanted actions in the RSS generation backend by luring them to a malicious URL, resulting in integrity impact on the CMS.
Affected Products
- DedeCMS 5.7
- /src/dede/makehtml_rss_action.php administrative endpoint
- Deployments where administrators maintain active authenticated sessions
Discovery Timeline
- 2024-04-02 - CVE-2024-3146 published to the National Vulnerability Database (NVD)
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-3146
Vulnerability Analysis
The vulnerability affects the RSS HTML generation action handler in the DedeCMS administrative interface. The makehtml_rss_action.php script processes requests without verifying an anti-CSRF token or validating request origin headers such as Referer or Origin. When an authenticated administrator loads attacker-controlled content in the same browser session, the browser attaches valid session cookies to forged requests targeting the vulnerable endpoint.
Exploitation requires user interaction, since a logged-in administrator must visit a malicious page or click a crafted link. The impact is limited to integrity, allowing unauthorized state changes tied to RSS generation functionality but not direct data exfiltration or service disruption.
Root Cause
The root cause is missing CSRF protection on a privileged administrative endpoint. DedeCMS does not enforce synchronizer tokens, double-submit cookies, or SameSite cookie attributes on the affected action. Any authenticated session becomes a vehicle for attacker-initiated requests.
Attack Vector
The attack proceeds over the network and requires no privileges on the target system. An attacker hosts a webpage containing an auto-submitting HTML form or image tag pointing at the DedeCMS admin action URL. When an authenticated administrator loads the page, the browser issues the forged request with valid credentials attached, and the server processes it as legitimate.
No verified proof-of-concept code is published in structured form. Technical details are available in the GitHub documentation on the CMS and the VulDB entry #258921.
Detection Methods for CVE-2024-3146
Indicators of Compromise
- Unexpected POST or GET requests to /src/dede/makehtml_rss_action.php originating from external Referer headers
- Administrative RSS generation actions occurring outside normal maintenance windows
- Web server access logs showing admin endpoint hits immediately after users visited untrusted external sites
Detection Strategies
- Deploy web application firewall (WAF) rules that inspect Referer and Origin headers on requests to /src/dede/ administrative paths
- Alert on state-changing HTTP methods to DedeCMS admin endpoints missing a valid same-origin header
- Correlate administrator browser telemetry with outbound requests to makehtml_rss_action.php to identify off-domain triggers
Monitoring Recommendations
- Enable verbose access logging on all DedeCMS admin scripts and forward logs to a centralized analytics platform
- Baseline expected administrator activity for RSS generation and flag deviations
- Monitor session cookie usage patterns for requests originating from cross-origin contexts
How to Mitigate CVE-2024-3146
Immediate Actions Required
- Restrict access to /src/dede/ administrative paths using IP allowlists or VPN-only reachability
- Instruct administrators to log out of DedeCMS sessions when not actively performing maintenance
- Configure session cookies with the SameSite=Strict and Secure attributes at the web server level
- Deploy WAF rules that block cross-origin state-changing requests to the affected endpoint
Patch Information
No official vendor patch is available. According to the disclosure record, the DedeCMS maintainers were notified but did not respond. Organizations running DedeCMS 5.7 should evaluate migration to an actively maintained content management system or apply the workarounds below until a patch is issued.
Workarounds
- Add a reverse proxy rule requiring a matching Origin or Referer header on requests to makehtml_rss_action.php
- Enforce browser isolation for administrator workstations to prevent cross-site request execution
- Disable the RSS generation feature if it is not required for the deployment
# Example nginx configuration enforcing same-origin on the vulnerable endpoint
location ~ /src/dede/makehtml_rss_action\.php$ {
if ($http_referer !~* "^https://your-dedecms-domain\.example/") {
return 403;
}
if ($http_origin !~* "^https://your-dedecms-domain\.example$") {
return 403;
}
proxy_pass http://dedecms_backend;
}
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

