PT-2023-6508 · Eclipse+1 · Eclipse Rap+1

Melazrak

·

Publicado

2023-09-21

·

Atualizado

2023-09-26

·

CVE-2023-4760

CVSS v3.1

10

Crítica

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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

Path traversal

Relative Path Traversal

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BDU:2023-07255
CVE-2023-4760

Produtos afetados

Eclipse Rap
Apache Tomcat