CVE-2024-14037
CriticalCVSS 9.8Exploitation Probability (EPSS)
Low risk49th percentile — higher than 49% of all known CVEs
Summary
Redsea Cloud eHR contains an arbitrary file upload vulnerability that allows unauthenticated attackers to achieve remote code execution by uploading malicious files through the PtFjk.mob servlet endpoint. Attackers can submit a multipart POST request with a JSP webshell disguised using a spoofed image/jpeg Content-Type to bypass the absence of extension and MIME type validation, with the uploaded file stored at a predictable path under the uploadfile directory and executed directly by the web server.
Risk Assessment
The risk for the organization includes full server compromise, data theft, and potential lateral movement within the internal network, as the attacker can execute arbitrary code on the server.
Recommendation
Immediately update Redsea Cloud eHR to the latest version, implement extension and MIME type validation for uploaded files, and restrict access to the PtFjk.mob servlet to authenticated users only.
Original NVD description (English source)
Redsea Cloud eHR contains an arbitrary file upload vulnerability that allows unauthenticated attackers to achieve remote code execution by uploading malicious files through the PtFjk.mob servlet endpoint. Attackers can submit a multipart POST request with a JSP webshell disguised using a spoofed image/jpeg Content-Type to bypass the absence of extension and MIME type validation, with the uploaded file stored at a predictable path under the uploadfile directory and executed directly by the web server. Exploitation evidence was first observed by the Shadowserver Foundation on 2024-11-03 (UTC).

