{"id":"CVE-2024-42467","published":"2024-08-09T18:06:34Z","modified":"2026-08-05T15:01:57Z","title":"CometVisu Backend for openHAB affected by SSRF/XSS","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. In versions 3.4.0.M4 through 4.2.0,, the proxy endpoint of openHAB's CometVisu add-on can be accessed without authentication. This proxy-feature can be exploited as Server-Side Request Forgery (SSRF) to induce GET HTTP requests to internal-only servers, in case openHAB is exposed in a non-private network. Furthermore, this proxy-feature can also be exploited as a Cross-Site Scripting (XSS) vulnerability, as an attacker is able to re-route a request to their server and return a page with malicious JavaScript code. Since the browser receives this data directly from the openHAB CometVisu UI, this JavaScript code will be executed with the origin of the CometVisu UI. This allows an attacker to exploit call endpoints on an openHAB server even if the openHAB server is located in a private network. (e.g. by sending an openHAB admin a link that proxies malicious JavaScript.) This issue may lead up to Remote Code Execution (RCE) when chained with other vulnerabilities. Users should upgrade to version 4.2.1 of the CometVisu add-on of openHAB to receive a patch.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01044,"percentile":0.64911,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/openhab/openhab-webui/security/advisories/GHSA-v7gr-mqpj-wwh3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openhab/openhab-webui/commit/531dabfa8311a50d2e740bf4f2b4f2400e78646c#diff-b9a920cefe5f9b2ee3615cb29f88bcad0535012c2ae2535bd12e47d6d9395b6a","tags":["x_refsource_MISC"]},{"url":"https://github.com/openhab/openhab-webui/commit/630e8525835c698cf58856aa43782d92b18087f2","tags":["x_refsource_MISC"]},{"url":"https://github.com/openhab/openhab-webui/blob/1c03c60f84388b9d7da0231df2d4ebb1e17d3fcf/bundles/org.openhab.ui.cometvisu/src/main/java/org/openhab/ui/cometvisu/internal/backend/rest/ProxyResource.java#L83","tags":["x_refsource_MISC"]}],"priority":{"score":20.0,"factors":[{"name":"EPSS percentile","points":12.98},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"openhab","affectedVersions":[{"vendor":"openhab","product":"openhab-webui","versions":[">= 3.4.0.M4, < 4.2.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-08-12T15:04:09.931539Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.openhab.ui.bundles:org.openhab.ui.cometvisu","vulnerableRanges":[">=3.4.0.M4, <4.2.1"],"patched":["4.2.1"],"from":["GHSA-v7gr-mqpj-wwh3"],"provenance":"source"}],"summary":{"text":"The CometVisu add-on for openHAB's web UI (openhab-webui) contains a flaw in its proxy endpoint, which is exposed through the add-on's backend. An unauthenticated remote attacker can abuse this proxy to make server-side GET requests to internal-only servers, and can also use it to return attacker-controlled JavaScript that runs in the CometVisu UI's origin, reachable when the openHAB server is exposed on a non-private network and, for the script injection, when a user is induced to open a crafted link.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:01Z"},"euvd":{"id":"EUVD-2024-2658","exploited":false,"provenance":"source"}}