Skip to content

CVE-2024-42469 CometVisu Backend for openHAB affected by RCE through path traversal

CriticalCVSS 9.8 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
openhab < 4.2.1 4.2.1 Fixed
org.openhab.ui.bundles/org.openhab.ui.cometvisu(Maven) < 4.2.1; <= 4.2.0 4.2.1 Fixed
openhab-webui = < 4.2.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.openhab.ui.bundles/org.openhab.ui.cometvisu(Maven) < 4.2.1 4.2.1
org.openhab.ui.bundles/org.openhab.ui.cometvisu(Maven) <= 4.2.0 No fix listed
openhab-webui = < 4.2.1 No fix listed
openhab < 4.2.1 4.2.1

References