CVE-2023-34865 in UJCMSinfo

Summary

by MITRE • 06/14/2023

Directory traversal vulnerability in ujcms 6.0.2 allows attackers to move files via the rename feature.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 01/09/2026

The directory traversal vulnerability identified as CVE-2023-34865 affects ujcms version 6.0.2 and represents a critical security flaw that enables unauthorized file manipulation through the content management system's rename functionality. This vulnerability stems from insufficient input validation and sanitization within the file management components, specifically targeting the rename feature that processes user-supplied paths without proper authorization checks. The flaw allows malicious actors to exploit the system's file handling mechanisms to navigate beyond intended directories and potentially execute arbitrary file operations.

This vulnerability manifests as a path traversal issue that falls under CWE-22, which specifically addresses improper limitation of a pathname to a restricted directory. The technical implementation flaw occurs when the rename function fails to properly validate or sanitize user-provided file paths, allowing attackers to inject directory traversal sequences such as "../" or "..\\" into the file naming operations. The system processes these malicious inputs without adequate filtering, enabling attackers to manipulate file locations within the application's file system hierarchy. The vulnerability is particularly concerning because it leverages legitimate system functionality rather than exploiting a separate service or component.

The operational impact of CVE-2023-34865 extends beyond simple file manipulation to potentially enable full system compromise through lateral movement and data exfiltration. Attackers can exploit this vulnerability to access sensitive files, modify critical system components, or even establish persistent access points within the affected environment. The attack vector aligns with ATT&CK technique T1078.004 which covers valid accounts and T1566.001 which involves spearphishing with links, as attackers may use this vulnerability to escalate privileges or gain unauthorized access to restricted file systems. Organizations running ujcms 6.0.2 are at significant risk of data breaches, system corruption, and potential full compromise of their web applications.

Mitigation strategies for this vulnerability should prioritize immediate patching of the ujcms application to version 6.0.3 or later, which includes proper input validation and sanitization for the rename functionality. System administrators should implement robust input filtering mechanisms that prevent directory traversal sequences from being processed by the file management components. Additional protective measures include restricting file system permissions for the web application, implementing web application firewalls with path traversal detection capabilities, and conducting thorough security audits of file handling operations. The vulnerability also highlights the importance of following secure coding practices such as those outlined in the OWASP Secure Coding Practices, particularly regarding input validation and access control implementation. Organizations should also consider implementing monitoring solutions that can detect anomalous file system activities and potential exploitation attempts targeting directory traversal vulnerabilities.

Reservation

06/07/2023

Disclosure

06/14/2023

Moderation

accepted

CPE

ready

EPSS

0.01210

KEV

no

Activities

very low

Sources

Do you want to use VulDB in your project?

Use the official API to access entries easily!