GitHub Advisoryadvisory · Maven
GHSA-f729-58x4-gqgf CometVisu Backend for openHAB affected by RCE through path traversal
CRITICAL
Official page ↗
- Aliases
- CVE-2024-42469
- Ecosystem
- Maven
- Packages
- org.openhab.ui.bundles:org.openhab.ui.cometvisu
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-22
- Reviewed
- 2024-08-09
Affected packages
• Maven org.openhab.ui.bundles:org.openhab.ui.cometvisu: < 4.2.1 → fixed in 4.2.1
Description
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.
Impact
This issue may lead up to Remote Code Execution (RCE).
Related
Alias · CVE (1)
- CVE-2024-42469 openHAB, a provider of open-source home automation software, has add-ons including the visualization add-on CometVisu. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness