CVE-2024-22895 in DedeCMSinfo

Summary

by MITRE • 01/22/2024

DedeCMS 5.7.112 has a File Upload vulnerability via uploads/dede/module_upload.php.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 06/05/2025

The vulnerability identified as CVE-2024-22895 affects DedeCMS version 5.7.112 and represents a critical file upload flaw located in the uploads/dede/module_upload.php component. This issue stems from inadequate input validation and sanitization mechanisms within the content management system's module upload functionality, creating an exploitable pathway for remote attackers to execute arbitrary code on the affected server. The vulnerability resides in the application's failure to properly verify file types and contents during the upload process, allowing malicious actors to bypass security controls and upload potentially harmful files.

This flaw constitutes a direct violation of security principle 13 from the OWASP Top Ten 2021, specifically addressing the risk of insecure file uploads that can lead to remote code execution. The technical implementation error manifests as a lack of proper file extension validation and content type checking, enabling attackers to upload malicious files such as php webshells or other executable scripts. The vulnerability is categorized under CWE-434, which describes insecure file upload vulnerabilities where applications allow users to upload files without adequate validation measures. Attackers can leverage this weakness to gain unauthorized access to the server, potentially leading to complete system compromise and data exfiltration.

The operational impact of this vulnerability extends beyond simple code execution, as it enables attackers to establish persistent access to the compromised system. Once exploited, the vulnerability allows adversaries to upload backdoors, modify existing files, create new user accounts, and potentially escalate privileges within the application. The attack surface is particularly concerning given that DedeCMS is a widely used content management system in China, making numerous websites vulnerable to this exploit. The vulnerability also aligns with ATT&CK technique T1190, which describes the use of compromised web applications for initial access and lateral movement within networks. Organizations running this vulnerable version face significant risk of data breaches, service disruption, and potential regulatory compliance violations.

Mitigation strategies should include immediate patching of the DedeCMS installation to the latest version that addresses this vulnerability, along with implementing robust file upload restrictions such as disabling executable file uploads and enforcing strict file type validation. Network segmentation and web application firewalls can provide additional defense-in-depth measures, while regular security audits and monitoring of upload directories should be implemented. Organizations should also consider implementing proper access controls and authentication mechanisms to limit the potential impact of successful exploitation. The vulnerability highlights the importance of maintaining up-to-date software versions and implementing comprehensive security practices to prevent similar issues from occurring in the future.

Reservation

01/11/2024

Disclosure

01/22/2024

Moderation

accepted

CPE

ready

EPSS

0.00767

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!