CVE-2024-42469 CRITICAL

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

Vendor Openhab
Product openhab-webui
Weakness CWE-22 · Path traversal
Published August 9, 2024
Last update August 9, 2024

CVSS base score

9.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 9, 2024 CVE published
August 9, 2024 Record updated