{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-4760","id":"CVE-2023-4760","title":"Remote Code Execution in Eclipse RAP on Windows","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.\n\n\n\n\n\n\nThe 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 f","descriptionLong":"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.\n\n\n\n\n\n\nThe 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.\n\nFor 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.\n\n\n","published":"2023-09-21T07:35:35.790Z","updated":"2026-10-28T02:31:08.314509431Z","reserved":"2023-09-04T16:06:47.588Z","status":"Modified","rejected":false,"assigner":"eclipse","metric":{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","rating":"high","source":"eclipse"},"metrics":[{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","rating":"high","source":"eclipse"},{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","rating":"high","source":"eclipse.org"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":7.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L","rating":"high","source":"OSV"}],"rating":"high","products":["Eclipse Foundation Eclipse RAP"],"affectedProducts":[{"vendor":"Eclipse Foundation","product":"Eclipse RAP","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"3.25.0","status":"affected","version":"3.0.0","versionType":"semver"}],"platforms":["Windows"]}],"packages":[],"cwes":["CWE-22","CWE-23"],"aliases":[],"references":[{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/160","tags":["x_transferred","Exploit","Issue Tracking","report"]},{"url":"https://github.com/eclipse-rap/org.eclipse.rap/pull/141","tags":["x_transferred","Issue Tracking","Patch","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4760.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4760","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0125,"epssPercentile":0.70022,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-4760","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4760","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-4760","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-4760","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}