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

exploitDog

nvd логотип

CVE-2019-9852

Опубликовано: 15 авг. 2019
Источник: nvd
CVSS3: 7.8
CVSS2: 6.8
EPSS Низкий

Уязвимость обхода защиты от выполнения неопределённых скриптов в LibreOffice через атаку с кодированием URL

Описание

В LibreOffice имеется функция, позволяющая выполнять предустановленные макросы при различных событиях, таких как наведение мыши или открытие документа. Доступ к этим макросам должен быть ограничен скриптами, находящимися в подкаталогах share/Scripts/python и user/Scripts/python внутри установки LibreOffice. Ранее была добавлена защита для предотвращения атаки обхода каталогов, обнаруженной в CVE-2018-16858, которая позволяла выполнять скрипты из произвольных расположений файловой системы. Однако эта новая защита может быть обойдена с помощью атаки с кодированием URL. В исправленных версиях URL, описывающий расположение скрипта, корректно кодируется перед дальнейшей обработкой.

Затронутые версии ПО

  • Document Foundation LibreOffice версии до 6.2.6

Тип уязвимости

Обход защиты через атаку с кодированием URL

Ссылки

Уязвимые конфигурации

Конфигурация 1

Одно из

cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*
cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
Конфигурация 2
cpe:2.3:a:libreoffice:libreoffice:*:*:*:*:*:*:*:*
Версия до 6.2.6 (исключая)

EPSS

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

7.8 High

CVSS3

6.8 Medium

CVSS2

Дефекты

CWE-116
CWE-22

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

CVSS3: 7.8
ubuntu
больше 6 лет назад

LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2018-16858, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed. However this new protection could be bypassed by a URL encoding attack. In the fixed versions, the parsed url describing the script location is correctly encoded before further processing. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.

CVSS3: 7.8
redhat
больше 6 лет назад

LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2018-16858, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed. However this new protection could be bypassed by a URL encoding attack. In the fixed versions, the parsed url describing the script location is correctly encoded before further processing. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.

CVSS3: 7.8
debian
больше 6 лет назад

LibreOffice has a feature where documents can specify that pre-install ...

CVSS3: 7.8
github
больше 3 лет назад

LibreOffice has a feature where documents can specify that pre-installed macros can be executed on various script events such as mouse-over, document-open etc. Access is intended to be restricted to scripts under the share/Scripts/python, user/Scripts/python sub-directories of the LibreOffice install. Protection was added, to address CVE-2018-16858, to avoid a directory traversal attack where scripts in arbitrary locations on the file system could be executed. However this new protection could be bypassed by a URL encoding attack. In the fixed versions, the parsed url describing the script location is correctly encoded before further processing. This issue affects: Document Foundation LibreOffice versions prior to 6.2.6.

CVSS3: 8.8
fstec
больше 6 лет назад

Уязвимость программного модуля LibreLogo пакета офисных программ LibreOffice, позволяющая нарушителю выполнить произвольный код в целевой системе

EPSS

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

7.8 High

CVSS3

6.8 Medium

CVSS2

Дефекты

CWE-116
CWE-22