CVE-2023-4760
CRITICAL 9.8CVSS 3.1In 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.
- Published
- 21 Sep 2023
- Last modified
- 17 Jun 2026
- Assigned by
- emo@eclipse.org
- NVD status
- Modified
- Weakness
- CWE-22
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | emo@eclipse.org (Secondary) | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | eclipse | remote_application_platformcpe:2.3:a:eclipse:remote_application_platform:*:*:*:*:*:*:*:* |
>= 3.0.0, <= 3.25.0 |
References
- https://github.com/eclipse-rap/org.eclipse.rap/pull/141 · Issue Tracking, Patch
- https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/160 · Exploit, Issue Tracking
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 21 Sep 2023)