PT-2023-6508
CVE-2023-4760
·
Published
2023-09-21
·
Updated
2023-09-26
Description by
CVSS 2.0
10
HighMetricsAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions
Eclipse RAP versions 3.0.0 through 3.25.0
Description
The issue is related to a not completely secure extraction of the file name in the
FileUploadProcessor.stripFileName(String name) method. This allows for Remote Code Execution on Windows when using the FileUpload component. For example, a file name such as /....webappsshell.war can be used to upload a file to a Tomcat server under Windows, which is then saved as ....webappsshell.war in its webapps directory and can then be executed.Recommendations
For Eclipse RAP versions 3.0.0 through 3.25.0, consider disabling the
FileUploadProcessor.stripFileName(String name) method or restricting the use of the FileUpload component until a patch is available. As a temporary workaround, avoid using the FileUpload component on Windows systems to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploitability
Exploit
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾