High

CometVisu Backend for openHAB affected by SSRF/XSS

  • Disclosed: 09.08.2024
  • Updated: 11.10.2026 12:22

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 vulnerability was discovered with the help of CodeQL's Server-side request forgery query.

Impact

This issue may lead up to Remote Code Execution (RCE) when chained with other vulnerabilities (see: GHSL-2024-007).

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.openhab.ui.bundles:org.openhab.ui.cometvisu >= 3.4.0.M4, < 4.2.1 4.2.1

References

CVSS score 10/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Weakness (CWE)
CWE-918
Platform
Java / Kotlin (Maven)
Package
org.openhab.ui.bundles:org.openhab.ui.cometvisu
Disclosed
09.08.2024
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-v7gr-mqpj-wwh3 - CC BY 4.0

Vulnerability history: org.openhab.ui.bundles:org.openhab.ui.cometvisu

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
08.2024 08.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 1
  • Medium 2

Disclosures per year

  1. 2024: 4
  2. 2025: 0
  3. 2026: 0
  1. Medium · 5.3 CVE-2024-42468 < 4.2.1 4.2.1
  2. Critical · 9.8 CVE-2024-42469 < 4.2.1 4.2.1
  3. CometVisu Backend for openHAB affected by SSRF/XSS this entry
    High · 10.0 CVE-2024-42467 >= 3.4.0.M4, < 4.2.1 4.2.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.