Path Traversal in Eclipse Remote Application Platform
CVE-2023-4760
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.010 (60.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L.
Affected products
- Eclipse Remote_application_platform
- Eclipse Foundation Rap — versions 3.0.0
Weakness classification (CWE)
References
- emo@eclipse.org (Exploit, Issue Tracking)
- emo@eclipse.org (Patch, Issue Tracking)
Frequently asked questions
- What is CVE-2023-4760?
- CVE-2023-4760 is a high-severity vulnerability in Eclipse Remote Application Platform, classified under Path Traversal. CVSS score: 7.6/10. Published 2023-09-21.
- How severe is CVE-2023-4760?
- High severity. CVSS v3 base score is 7.6 out of 10.