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

exploitDog

github логотип

GHSA-f729-58x4-gqgf

Опубликовано: 09 авг. 2024
Источник: github
Github: Прошло ревью
CVSS4: 9.3
CVSS3: 9.8

Описание

CometVisu Backend for openHAB affected by RCE through path traversal

CometVisu's file system endpoints don't require authentication and additionally the endpoint to update an existing file is susceptible to path traversal. This makes it possible for an attacker to overwrite existing files on the openHAB instance. If the overwritten file is a shell script that is executed at a later time this vulnerability can allow remote code execution by an attacker.

This vulnerability was discovered with the help of CodeQL's Uncontrolled data used in path expression query.

Impact

This issue may lead up to Remote Code Execution (RCE).

Пакеты

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

org.openhab.ui.bundles:org.openhab.ui.cometvisu

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

<= 4.2.0

4.2.1

EPSS

Процентиль: 94%
0.13819
Средний

9.3 Critical

CVSS4

9.8 Critical

CVSS3

Дефекты

CWE-22

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

CVSS3: 9.8
nvd
больше 1 года назад

openHAB, a provider of open-source home automation software, has add-ons including the visualization add-on CometVisu. Prior to version 4.2.1, CometVisu's file system endpoints don't require authentication and additionally the endpoint to update an existing file is susceptible to path traversal. This makes it possible for an attacker to overwrite existing files on the openHAB instance. If the overwritten file is a shell script that is executed at a later time, this vulnerability can allow remote code execution by an attacker. Users should upgrade to version 4.2.1 to receive a patch.

EPSS

Процентиль: 94%
0.13819
Средний

9.3 Critical

CVSS4

9.8 Critical

CVSS3

Дефекты

CWE-22