Vulnerabilities in pkg:maven/org.openhab.ui.bundles/org.openhab.ui.cometvisu
PACKAGECVE-2024-42467 is a HIGH (CVSS 10.0) cross-site scripting vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Org.openhab.ui.cometvisu libraries in the Maven ecosystem. The issue involves cometvisu backend for openhab affected by ssrf/xss. Remediation is available by upgrading affected packages to version 4.2.1.
pkg:maven/org.openhab.ui.bundles/org.openhab.ui.cometvisu
Vulnerability advisories affecting package pkg:maven/org.openhab.ui.bundles/org.openhab.ui.cometvisu. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-v7gr-mqpj-wwh3 | CVE-2024-42467 | HIGH | CometVisu Backend for openHAB affected by SSRF/XSS |
| GHSA-3g4c-hjhr-73rj | CVE-2024-42470 | MODERATE | CometVisu Backend for openHAB has a sensitive information disclosure vulnerability |
| GHSA-f729-58x4-gqgf | CVE-2024-42469 | CRITICAL | CometVisu Backend for openHAB affected by RCE through path traversal |
| GHSA-pcwp-26pw-j98w | CVE-2024-42468 | MODERATE | CometVisu Backend for openHAB has a path traversal vulnerability |
CVE-2024-42467 at a Glance
Security Impact
CVSS: 10.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N).
How to Fix CVE-2024-42467
To remediate this vulnerability, upgrade all affected Org.openhab.ui.cometvisu dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.openhab.ui.bundles</groupId>
<artifactId>org.openhab.ui.cometvisu</artifactId>
<version>4.2.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.openhab.ui.bundles
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-42467, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.openhab.ui.bundles
Analyze the terminal output to locate any version of Org.openhab.ui.cometvisu in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.openhab.ui.bundles command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Org.openhab.ui.cometvisu, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-42467 Affected Org.openhab.ui.cometvisu Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.openhab.ui.bundles:org.openhab.ui.cometvisu
|
Maven |
≥ 3.4.0.M4
< 4.2.1
|
4.2.1
|
References
Frequently Asked Questions
What is CVE-2024-42467?
Which Org.openhab.ui.cometvisu versions are affected?
What version fixes CVE-2024-42467?
Is org.openhab.ui.cometvisu affected?
What is the CVSS score of CVE-2024-42467?
What CWE is associated with CVE-2024-42467?
How can I check Maven dependencies for CVE-2024-42467?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v7gr-mqpj-wwh3",
"modified" : "2026-08-05T15:01:27Z",
"published" : "2024-08-09T18:21:07Z",
"aliases" : [ "CVE-2024-42467" ],
"summary" : "CometVisu Backend for openHAB affected by SSRF/XSS",
"details" : "The [proxy endpoint](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) 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.\n\nFurthermore, 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.)\n\nThis vulnerability was discovered with the help of CodeQL's [Server-side request forgery](https://codeql.github.com/codeql-query-help/java/java-ssrf/) query.\n\n## Impact\n\nThis issue may lead up to Remote Code Execution (RCE) when chained with other vulnerabilities (see: GHSL-2024-007).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.openhab.ui.bundles:org.openhab.ui.cometvisu"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.4.0.M4"
}, {
"fixed" : "4.2.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.2.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/openhab/openhab-webui/security/advisories/GHSA-v7gr-mqpj-wwh3"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-42467"
}, {
"type" : "WEB",
"url" : "https://github.com/openhab/openhab-webui/commit/531dabfa8311a50d2e740bf4f2b4f2400e78646c#diff-b9a920cefe5f9b2ee3615cb29f88bcad0535012c2ae2535bd12e47d6d9395b6a"
}, {
"type" : "WEB",
"url" : "https://github.com/openhab/openhab-webui/commit/630e8525835c698cf58856aa43782d92b18087f2"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openhab/openhab-webui"
}, {
"type" : "WEB",
"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"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-09T18:21:07Z",
"nvd_published_at" : "2024-08-12T13:38:34Z"
}
}