Feng Ha Ha Mega Gao SSM ERP Production SSM Unrestricted File Upload Vulnerability Leading to Remote Code Execution
Vulnerability
A critical vulnerability has been identified in Feng Ha Ha's Mega Gao SSM ERP production_ssm version 0.0.1 and prior. The issue resides in the file upload functionality of the FileServiceImpl.java. The vulnerability allows for unrestricted file uploads, where malicious JSP files can be uploaded and potentially executed, leading to arbitrary code execution. This vulnerability can be exploited remotely.
Impact
Exploitation of this vulnerability allows for arbitrary code execution on the server where the application is running.
Reproduction
To reproduce this vulnerability, upload a malicious JSP file through the application's file upload feature. The uploaded file can then be accessed and executed on the server, leading to remote code execution.
Remediation
It is recommended to implement a whitelist for allowed file types and to sanitize file names before processing uploads.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
