Hzmanyun Education and Training System Command Injection Vulnerability in UploadImageController

Vulnerability

A critical remote code execution vulnerability has been identified in the Hzmanyun Education and Training System version 2.1.3. The issue arises in the UploadImageController.java file, specifically within the 'scorm' function. The vulnerability is caused by improper handling of the 'param' argument, which allows for command injection. This flaw can be exploited remotely, leading to unauthorized execution of commands on the server.

Impact

Exploitation of this vulnerability allows for arbitrary code execution on the server, potentially leading to unauthorized access, data theft, or a complete system compromise.

Reproduction

To reproduce this vulnerability, send a POST request to the '/scorm' endpoint with the 'param' parameter manipulated to include a command injection payload, such as a command to ping an external server. The request must also include a file upload, which can be a text file or any other type that is not blocked by the application. Once the request is processed, the injected command will be executed on the server.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
10.0
exploitability
6.6
remediation
0.0
relevance
0.0
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.