Risesoft-Y9 Digital-Infrastructure Path Traversal Vulnerability in File Deletion Function

Vulnerability

A critical path traversal vulnerability has been identified in Risesoft-Y9 Digital-Infrastructure versions through 9.6.7. The issue arises in the Y9FileController.java file, specifically within the deleteFile function. The vulnerability allows for the manipulation of the fullPath argument, enabling remote attackers to traverse directories and potentially delete arbitrary files on the server. This exploitation could lead to unauthorized file deletion, impacting the integrity and availability of the application.

Impact

Exploitation of this vulnerability allows for path traversal, enabling attackers to access directories and files outside of the intended scope. In this case, it could be used to delete arbitrary files on the server, disrupting the application's functionality and potentially causing data loss.

Reproduction

To reproduce this vulnerability, send a request to the /fileManager/rest/deleteFile endpoint with a crafted fullPath parameter that exploits the lack of proper path validation. This can be done by including directory traversal sequences in the parameter to navigate outside of the restricted directory and target sensitive files for deletion.

Added: Jul 7, 2025, 3:18 AM
Updated: Jul 7, 2025, 3:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.6
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.