VDB
EN
CRITICAL 10.0

GHSA-v7gr-mqpj-wwh3

CometVisu Backend for openHAB affected by SSRF/XSS

빠른 조치

GHSA-v7gr-mqpj-wwh3 — org.openhab.ui.bundles:org.openhab.ui.cometvisu: 아래 명령으로 수정 버전으로 올리세요.

# pom.xml: bump <version>4.2.1</version> for org.openhab.ui.bundles:org.openhab.ui.cometvisu

상세

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.

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](https://codeql.github.com/codeql-query-help/java/java-ssrf/) query.

## Impact

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

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

Maven / org.openhab.ui.bundles:org.openhab.ui.cometvisu
최초 영향 버전: 3.4.0.M4 수정 버전: 4.2.1
수정 # pom.xml: bump <version>4.2.1</version> for org.openhab.ui.bundles:org.openhab.ui.cometvisu

참고