WaratekVRT Sign in

CVE-2024-42468 openHAB

Affected softwareopenHAB
Severity7.5 High 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. CometVisuServlet in versions prior to 4.2.1 is susceptible to an unauthenticated path traversal vulnerability. Local files on the server can be requested via HTTP GET on the CometVisuServlet. This issue may lead to information disclosure. Users should upgrade to version 4.2.1 of the CometVisu add-on of openHAB 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 0.81% 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-42468

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

7.5 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 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 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N NVD Primary published
CVSS 3.1 5.3 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N security-advisories@github.com Secondary

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-pcwp-26pw-j98w WEB
https://github.com/openhab/openhab-webui PACKAGE
https://github.com/openhab/openhab-webui/blob/1c03c60f84388b9d7da0231df2d4ebb1e17d3fcf/bundles/org.openhab.ui.cometvisu/src/main/java/org/openhab/ui/cometvisu/internal/servlet/CometVisuServlet.java#L75 WEB

Timeline

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