CVE-2021-46037 in MCMSinfo

Summary

by MITRE • 02/18/2022

MCMS v5.2.4 was discovered to contain an arbitrary file deletion vulnerability via the component /template/unzip.do.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 05/25/2026

The MCMS v5.2.4 content management system contains a critical arbitrary file deletion vulnerability within its template unzipping component at /template/unzip.do. This flaw represents a severe security weakness that allows unauthorized users to delete arbitrary files on the target system. The vulnerability stems from insufficient input validation and sanitization within the file handling mechanism, enabling attackers to manipulate the unzip process to target files beyond the intended scope. The attack vector specifically exploits the template management functionality where users can upload and extract zip archives containing malicious file paths that traverse directory structures. This type of vulnerability falls under CWE-22 - Improper Limitation of a Pathname to a Restricted Directory and aligns with ATT&CK technique T1485 - Data Destruction, as it enables unauthorized deletion of critical system files. The flaw exists because the application fails to properly validate file paths during the extraction process, allowing directory traversal attacks to occur. Attackers can leverage this vulnerability to remove essential system files, configuration data, or even executables that could compromise the entire system integrity. The impact extends beyond simple file deletion as it can lead to complete system compromise, service disruption, and potential data loss. Organizations running this version of MCMS are particularly vulnerable as the flaw affects the core template management functionality that is frequently used for content updates and system maintenance. The vulnerability is particularly dangerous because it can be exploited by unauthenticated users, making it accessible to anyone who can interact with the web application. The attack requires minimal privileges and can be automated, making it a high-risk exploit that could be weaponized at scale. Security professionals should note that this vulnerability demonstrates poor input validation practices and highlights the critical need for proper path validation in file handling operations. The flaw represents a classic example of how insufficient security controls in web applications can lead to devastating consequences. Organizations should immediately implement mitigations including input validation, path restriction, and access controls to prevent unauthorized file deletion operations. The vulnerability also underscores the importance of regular security assessments and timely patch management to prevent exploitation of known security flaws. This type of vulnerability commonly appears in legacy systems where security considerations were not adequately integrated into the development lifecycle. The potential for cascading effects makes this vulnerability particularly concerning as deletion of system files can lead to further compromises and service outages. Security teams should conduct thorough assessments of all file handling operations within their applications to identify similar weaknesses that could be exploited in similar fashion. The remediation approach should focus on implementing proper file path validation, restricting file operations to predefined directories, and ensuring that all user-supplied inputs are properly sanitized before processing.

Reservation

01/03/2022

Disclosure

02/18/2022

Moderation

accepted

CPE

ready

EPSS

0.01017

KEV

no

Activities

very low

Sources

Do you need the next level of professionalism?

Upgrade your account now!