CVE-2023-4760
CWE-22Published: September 21, 2023· Updated: Jun 17, 2026
Official Description
In Eclipse RAP versions from 3.0.0 up to and including 3.25.0, Remote Code Execution is possible on Windows when using the FileUpload component.
The reason for this is a not completely secure extraction of the file name in the FileUploadProcessor.stripFileName(String name) method. As soon as this finds a / in the path, everything before it is removed, but potentially \ (backslashes) coming further back are kept.
For example, a file name such as /..\..\webapps\shell.war can be used to upload a file to a Tomcat server under Windows, which is then saved as ..\..\webapps\shell.war in its webapps directory and can then be executed.
Risk Analysis
Eclipse RAP versions up to 3.25.0 are vulnerable to remote code execution on Windows systems via the FileUpload component. Improper sanitization of file paths allows attackers to upload malicious files to arbitrary locations.
No public exploit is known, and it is not in the CISA KEV. The vulnerability is remotely exploitable with low complexity.
Upgrade to a patched version of Eclipse RAP that properly handles file path sanitization.
Technical Analysis
CVE-2023-4760 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (4)
Quick Facts
Related CVEs (CWE-22)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2023-4760 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts