Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.openhab.ui.bundles/org.openhab.ui.cometvisu
  4. ›
  5. CVE-2024-42468

CVE-2024-42468: CometVisu Backend for openHAB has a path traversal vulnerability

August 9, 2024

openHAB’s CometVisuServlet is susceptible to an unauthenticated path traversal vulnerability.

Local files on the server can be requested via HTTP GET on the CometVisuServlet.

This vulnerability was discovered with the help of CodeQL’s Uncontrolled data used in path expression query.

References

  • github.com/advisories/GHSA-pcwp-26pw-j98w
  • github.com/openhab/openhab-webui
  • github.com/openhab/openhab-webui/blob/1c03c60f84388b9d7da0231df2d4ebb1e17d3fcf/bundles/org.openhab.ui.cometvisu/src/main/java/org/openhab/ui/cometvisu/internal/servlet/CometVisuServlet.java
  • github.com/openhab/openhab-webui/commit/630e8525835c698cf58856aa43782d92b18087f2
  • github.com/openhab/openhab-webui/security/advisories/GHSA-pcwp-26pw-j98w
  • nvd.nist.gov/vuln/detail/CVE-2024-42468

Code Behaviors & Features

Detect and mitigate CVE-2024-42468 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.2.1

Fixed versions

  • 4.2.1

Solution

Upgrade to version 4.2.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/org.openhab.ui.bundles/org.openhab.ui.cometvisu/CVE-2024-42468.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:07 +0000.