WaratekVRT Sign in

CVE-2024-42469 openHAB

Affected softwareopenHAB
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in4.2.1
WeaknessPath traversal (CWE-22)
Published12 Aug 2024
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 2 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 1.2% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.
Candidate fix https://github.com/openhab/openhab-webui/commit/630e8525835c698cf58856aa43782d92b18087f2 : a commit: the change itself

How to mitigate CVE-2024-42469

Upgrade openHAB to 4.2.1 or later. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H security-advisories@github.com Secondary published
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.openhab.ui.bundles:org.openhab.ui.cometvisu 0 4.2.1 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd openhab openhab generic < 4.2.1
osv org.openhab.ui.bundles org.openhab.ui.cometvisu generic < 4.2.1

References

URLTags
https://github.com/openhab/openhab-webui/commit/630e8525835c698cf58856aa43782d92b18087f2 commit
https://github.com/openhab/openhab-webui/security/advisories/GHSA-f729-58x4-gqgf WEB
https://github.com/openhab/openhab-webui PACKAGE

Timeline

Published2024-08-12By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.