Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-7ch5-jhg9-j5p5

Опубликовано: 21 сент. 2023
Источник: github
Github: Не прошло ревью
CVSS3: 7.6

Описание

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.

The 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.

For 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.

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.

The 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.

For 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.

EPSS

Процентиль: 59%
0.00376
Низкий

7.6 High

CVSS3

Дефекты

CWE-22

Связанные уязвимости

CVSS3: 7.6
nvd
больше 2 лет назад

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. The 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. For 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.

CVSS3: 9.8
fstec
больше 2 лет назад

Уязвимость метода FileUploadProcessor.stripFileName(String name) набора плагинов Eclipse Rich Client Platform (RCP), позволяющая нарушителю выполнить произвольный код

EPSS

Процентиль: 59%
0.00376
Низкий

7.6 High

CVSS3

Дефекты

CWE-22