CVE-2025-1335 in CmsEasyinfo

Summary

by MITRE • 02/16/2025

A vulnerability, which was classified as problematic, was found in CmsEasy 7.7.7.9. Affected is the function deleteimg_action in the library lib/admin/file_admin.php. The manipulation of the argument imgname leads to path traversal. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 02/28/2025

The vulnerability identified as CVE-2025-1335 represents a critical path traversal flaw within CmsEasy version 7.7.7.9 that resides in the deleteimg_action function located within the lib/admin/file_admin.php library. This security weakness stems from inadequate input validation and sanitization of the imgname parameter, which allows malicious actors to manipulate file paths and potentially access or delete arbitrary files on the server. The vulnerability's classification as problematic indicates its potential for significant impact, particularly given that it enables remote exploitation without requiring authentication or privileged access. The flaw operates by permitting attackers to craft malicious input that bypasses normal file access controls, effectively allowing them to traverse the file system beyond the intended boundaries of the application's file management functionality.

The technical implementation of this path traversal vulnerability occurs when the deleteimg_action function processes the imgname argument without proper validation of directory traversal sequences such as ../ or ..\ that could allow an attacker to navigate outside the intended directory structure. This type of vulnerability directly maps to CWE-22, which specifically addresses path traversal or directory traversal attacks where user-supplied input is used to construct file paths without adequate sanitization. The attack vector is particularly concerning because it can be executed remotely, meaning that an attacker does not need physical access to the server or local network privileges to exploit the vulnerability. The public disclosure of this exploit further amplifies the risk, as malicious actors can immediately leverage the known attack method without needing to discover the vulnerability through research or reconnaissance.

The operational impact of CVE-2025-1335 extends beyond simple unauthorized file access, as it could potentially enable attackers to execute arbitrary code on the affected server, escalate privileges, or gain access to sensitive system information. The vulnerability's remote exploitability means that it can be targeted from anywhere on the internet, making it particularly dangerous for web applications that are publicly accessible. Attackers could leverage this flaw to delete critical application files, upload malicious content, or even establish persistent access through backdoor creation. The fact that the vendor did not respond to early disclosure attempts creates an additional layer of risk, as organizations using CmsEasy 7.7.7.9 may not receive timely patches or security updates to address this critical vulnerability. This lack of vendor response could leave systems exposed for extended periods, potentially allowing attackers to conduct reconnaissance, establish footholds, or perform more sophisticated attacks that exploit the initial path traversal access.

Organizations should immediately implement mitigations including input validation, output encoding, and access controls to prevent exploitation of this vulnerability. The recommended remediation strategy involves patching the application to version 7.7.7.10 or later, which should contain the necessary fixes for the path traversal vulnerability. Additionally, implementing proper access controls, restricting file upload capabilities, and monitoring for suspicious file operations can help reduce the attack surface. Security teams should also consider implementing web application firewalls and intrusion detection systems to monitor for exploitation attempts. The vulnerability aligns with ATT&CK technique T1059.007, which covers command and scripting interpreter usage, as attackers may leverage the path traversal to execute malicious commands or scripts on the compromised system. Organizations should conduct thorough security assessments to identify all instances of the vulnerable CmsEasy version and ensure comprehensive remediation across their infrastructure to prevent potential compromise through this remote path traversal vulnerability.

Responsible

VulDB

Disclosure

02/16/2025

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00150

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!