CVE-2024-42469

CometVisu Backend for openHAB affected by RCE through path traversal

Published Aug 9, 2024 CVSS 3.1 · 9.8 Critical EPSS 1.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-f729-58x4-gqgf CometVisu Backend for openHAB affected by RCE through path traversal
History
Type Values Removed Values Added
First Time appeared Openhab
Openhab openhab
CPEs cpe:2.3:a:openhab:openhab:*:*:*:*:*:*:*:*
Vendors & Products Openhab
Openhab openhab
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title CometVisu Backend for openHAB affected by RCE through path traversal
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 9, 2024, 6:32 PM
Reserved
Aug 2, 2024, 2:13 PM
Status
Analyzed
Published
Aug 12, 2024, 1:38 PM
Modified
Jun 17, 2026, 7:49 AM