CVE-2024-42469 – org.openhab.ui.bundles:org.openhab.ui.cometvisu
Package
Manager: maven
Name: org.openhab.ui.bundles:org.openhab.ui.cometvisu
Vulnerable Version: >=0 <4.2.1
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.01335 pctl0.79217
Details
CometVisu Backend for openHAB affected by RCE through path traversal 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](https://codeql.github.com/codeql-query-help/java/java-path-injection/) query. ## Impact This issue may lead up to Remote Code Execution (RCE).
Metadata
Created: 2024-08-09T18:24:07Z
Modified: 2024-08-12T16:01:17Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-f729-58x4-gqgf/GHSA-f729-58x4-gqgf.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-f729-58x4-gqgf
Finding: F063
Auto approve: 1