CVE-2025-2032 in ChestnutCMSinfo

Summary

by MITRE • 03/06/2025

A vulnerability classified as problematic was found in ChestnutCMS 1.5.2. This vulnerability affects the function renameFile of the file /cms/file/rename. The manipulation of the argument rename leads to path traversal. The exploit has been disclosed to the public and may be used.

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

Analysis

by VulDB Data Team • 05/13/2025

This vulnerability resides within ChestnutCMS version 1.5.2 and specifically targets the renameFile function located in the /cms/file/rename endpoint. The flaw manifests when processing user-supplied input through the rename argument, creating a path traversal condition that allows attackers to manipulate file system paths beyond the intended directory boundaries. The vulnerability represents a critical security weakness that enables unauthorized access to sensitive system resources.

The technical implementation of this flaw demonstrates a classic path traversal vulnerability where insufficient input validation permits malicious path manipulation. When an attacker supplies crafted input to the rename parameter, the application fails to properly sanitize or validate the file path, allowing directory traversal sequences such as ../ or ..\ to be processed. This creates opportunities for attackers to access files outside the designated application directories, potentially leading to unauthorized data access, information disclosure, or even arbitrary code execution depending on the system configuration.

From an operational perspective, this vulnerability poses significant risks to organizations using ChestnutCMS 1.5.2 as it provides a direct attack vector for path traversal exploits. The public disclosure of the exploit means that threat actors can readily leverage this weakness without requiring advanced techniques or zero-day knowledge. Successful exploitation could result in the exposure of sensitive configuration files, database credentials, user data, or system files that should remain protected within the application's designated boundaries. The impact extends beyond simple information disclosure to potentially enabling more severe attacks such as privilege escalation or system compromise.

Security practitioners should prioritize immediate remediation through the application of vendor patches or updates to ChestnutCMS versions that address this vulnerability. Organizations lacking immediate patching capabilities should implement compensating controls such as input validation at the application level, restricting file system access permissions, and deploying web application firewalls with path traversal detection capabilities. The vulnerability aligns with CWE-22 Path Traversal and follows ATT&CK techniques related to privilege escalation and defense evasion through file system manipulation. Regular security assessments and input validation testing should be implemented to prevent similar weaknesses in other application components and maintain overall system security posture.

Responsible

VulDB

Disclosure

03/06/2025

Moderation

accepted

CPE

ready

Exploit

Download

EPSS

0.00478

KEV

no

Activities

very low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!