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

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

August 9, 2024

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.

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

References

  • github.com/advisories/GHSA-f729-58x4-gqgf
  • github.com/openhab/openhab-webui
  • github.com/openhab/openhab-webui/commit/630e8525835c698cf58856aa43782d92b18087f2
  • github.com/openhab/openhab-webui/security/advisories/GHSA-f729-58x4-gqgf
  • nvd.nist.gov/vuln/detail/CVE-2024-42469

Code Behaviors & Features

Detect and mitigate CVE-2024-42469 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 9.8 CRITICAL

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

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-42469.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:44 +0000.