Authenticated code execution via mixed-separator upload filename
Published Sep 21, 2023 · Updated Sep 24, 2024
Path traversal in Eclipse RAP 3.0.0 through 3.25.0 allows remote authenticated users to execute code via FileUpload on Windows. FileUploadProcessor.stripFileName removes text before a forward slash but retains later backslashes, preserving a relative path in an uploaded filename. The application must expose the FileUpload service on a Windows servlet container, where a crafted WAR filename can escape into Tomcat's executable webapps directory.
Summary
What happened
Path traversal in Eclipse RAP 3.0.0 through 3.25.0 allows remote authenticated users to execute code via FileUpload on Windows. FileUploadProcessor.stripFileName removes text before a forward slash but retains later backslashes, preserving a relative path in an uploaded filename. The application must expose the FileUpload service on a Windows servlet container, where a crafted WAR filename can escape into Tomcat's executable webapps directory.
The record
- CVE
- CVE-2023-4760
- Published
- Sep 21, 2023
- Updated
- Sep 24, 2024
- Vendor
- The Eclipse Foundation
- Product
- Eclipse RAP
- Classifications
- CWE-22, CWE-23, CAPEC-154, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 21, 2023CVE publishedPublication date reported by the CVE source.
- Sep 24, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.0.0 <=3.25.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Eclipse RAP FileUpload traversal reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo