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

exploitDog

github логотип

GHSA-xx6g-jj35-pxjv

Опубликовано: 16 нояб. 2022
Источник: github
Github: Прошло ревью
CVSS3: 8.2

Описание

Cross Site Scripting vulnerability in wsgidav when directory browsing is enabled

Impact

Implementations using this library with directory browsing enabled may be susceptible to Cross Site Scripting (XSS) attacks.

Patches

Users can upgrade to v4.1.0

Workarounds

Set dir_browser.enable = False in the configuration. For instance, when using a Python dictionary to configure the library:

config = { # your normal configuration "dir_browser": { "enable": False }, } app = WsgiDAVApp(config)

For more information

Note that an attacker cannot exploit this vulnerability, by simply uploading a file or folder with a manipulated file name. However if the WsgiDAV library is used in a scenario where untrusted data is displayed in the directory browser's user interface (e.g. 'realm' or user name, ...) XSS may happen.

If you have any questions or comments about this advisory:

Пакеты

Наименование

wsgidav

pip
Затронутые версииВерсия исправления

>= 3.0.0a1, < 4.1.0

4.1.0

EPSS

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

8.2 High

CVSS3

Дефекты

CWE-79

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

CVSS3: 8.2
nvd
почти 3 года назад

WsgiDAV is a generic and extendable WebDAV server based on WSGI. Implementations using this library with directory browsing enabled may be susceptible to Cross Site Scripting (XSS) attacks. This issue has been patched, users can upgrade to version 4.1.0. As a workaround, set `dir_browser.enable = False` in the configuration.

EPSS

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

8.2 High

CVSS3

Дефекты

CWE-79