JeeWMS Arbitrary File Upload Vulnerability Leading to Remote Code Execution

Vulnerability

An arbitrary file upload vulnerability has been identified in JeeWMS version 20250820. This vulnerability arises from inadequate file validation in the 'saveFiles' function of the 'cgUploadController' endpoint. As a result, an authenticated user with normal privileges could upload a malicious file that enabled remote code execution on the server.

Impact

Exploitation of this vulnerability allows for arbitrary file uploads, which can lead to remote code execution on the server.

Reproduction

To reproduce this vulnerability, an authenticated user must send a POST request to the 'jeewms/cgUploadController.do' endpoint, including a file in the request that contains malicious code. The uploaded file must be crafted to execute code on the server when processed.

Remediation

It is recommended to implement strict file type whitelisting, validate and sanitize file names, store uploaded files outside the web root, remove execute permissions from upload directories, verify content types by inspecting file magic bytes, scan uploads for malicious content, apply least-privilege principles to the web application user and database credentials, and add logging and alerting for upload attempts.

Added: Oct 10, 2025, 6:19 PM
Updated: Oct 10, 2025, 7:20 PM

Vulnerability Rating

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