Skip to content
OpenAdvisories
Critical · 9.8 CVE-2024-42469 EUVD-2024-2569GHSA-f729-58x4-gqgf

CometVisu Backend for openHAB affected by RCE through path traversal

Published Aug 9, 2024 · Updated Aug 9, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
openhab openhab-webui < 4.2.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.openhab.ui.bundles:org.openhab.ui.cometvisu < 4.2.1 4.2.1 GHSA-f729-58x4-gqgf

References