{"id":"CVE-2024-42469","published":"2024-08-09T18:12:11Z","modified":"2024-08-09T18:32:18Z","title":"CometVisu Backend for openHAB affected by RCE through path traversal","vendor":"openhab","product":"openhab-webui","tier":"tail","description":{"text":"openHAB, a provider of open-source home automation software, has add-ons including the visualization add-on CometVisu. Prior to version 4.2.1, 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. Users should upgrade to version 4.2.1 to receive a patch.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01211,"percentile":0.69199,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/openhab/openhab-webui/security/advisories/GHSA-f729-58x4-gqgf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openhab/openhab-webui/commit/630e8525835c698cf58856aa43782d92b18087f2","tags":["x_refsource_MISC"]}],"priority":{"score":20.7,"factors":[{"name":"EPSS percentile","points":13.84},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"openhab","affectedVersions":[{"vendor":"openhab","product":"openhab-webui","versions":["< 4.2.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-08-09T18:31:24.354652Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.openhab.ui.bundles:org.openhab.ui.cometvisu","vulnerableRanges":["<4.2.1"],"patched":["4.2.1"],"from":["GHSA-f729-58x4-gqgf"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in the CometVisu add-on for openHAB's openhab-webui product lets its file update endpoint write outside the intended directory, and the add-on's file system endpoints do not require authentication. An unauthenticated attacker with network access can overwrite existing files on the openHAB instance, and if an overwritten shell script is later executed, this can lead to remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:08:25Z"},"euvd":{"id":"EUVD-2024-2569","exploited":false,"provenance":"source"}}