PT-2023-6508 · Apache+1 · Apache Tomcat+1
CVSS v2.0
10
High
| Vector | AV: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.Exploit
Relative Path Traversal
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Eclipse Rap
Apache Tomcat