CVE-2024-42467Openhab Web Interface
Critical 10.0 No auth needed
Follow: this CVE · Openhab · Openhab Web Interface We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 10.0
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- No
- Published
- Aug 12, 2024
- Updated
- Aug 5, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Openhab Web Interface.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.openhab.ui.bundles:org.openhab.ui.cometvisu |
≥ 3.4.0.M4 < 4.2.1 |
4.2.1 |
— |
Per OSV / GitHub Advisories (GHSA-v7gr-mqpj-wwh3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openhab | openhab_web_interface | < 4.2.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com
- github.com Patch
- github.com Third Party Advisory