Paper/Archive/CVE-2024-42469

CVE-2024-42469

openhab openhab-webui — CometVisu Backend for openHAB affected by RCE through path traversal

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
openhab-webui< 4.2.1–CNA
openhab< 4.2.14.2.1CISA-ADP

Scores by source

GitHub_M (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgithub.com/openhab/openhab-webui/security/advisories/GHSA-f729-58x4-gqgfrefgithub.com/openhab/openhab-webui/commit/630e8525835c698cf58856aa43782d92b18087f2