CVE-2023-4760
published high CVSS 3.1 · 7.6Remote Code Execution in Eclipse RAP on Windows
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Eclipse Foundation | — | Eclipse RAP3.0.0 through 3.25.0 · Other versions: unaffected · Platforms: Windows | Affected | Not stated | eclipse |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.6 / 10
- Severity
- high
- Provider
- eclipse · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Eclipse Foundation | Eclipse RAP | 3.0.0 through 3.25.0 (affected · semver)Default: unaffected | eclipse · cna |
Weaknesses
2- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-23 CWE-23 Relative Path Traversal
References
2Provider assertions
3eclipse · cna
Remote Code Execution in Eclipse RAP on Windows
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 65f10c7f9bea8bb36959fe27e9de8c8f593ebdc452075d2946ddc2cfc6baaa7e
- Ingested
- 23 Sep 2026, 08:13:47 UTC
- Source record
- Official CVE record