NetSight
medium5.3

CVE-2024-42468

CometVisu Backend for openHAB has a path traversal vulnerability

Impact

openHAB's [CometVisuServlet](https://github.com/openhab/openhab-webui/blob/1c03c60f84388b9d7da0231df2d4ebb1e17d3fcf/bundles/org.openhab.ui.cometvisu/src/main/java/org/openhab/ui/cometvisu/internal/servlet/CometVisuServlet.java#L75) is susceptible to an unauthenticated path traversal vulnerability. Local files on the server can be requested via HTTP GET on the CometVisuServlet. This vulnerability was discovered with the help of CodeQL's [Uncontrolled data used in path expression](https://codeql.github.com/codeql-query-help/java/java-path-injection/) query. ## Impact This issue may lead to Information Disclosure.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.openhab.ui.bundles:org.openhab.ui.cometvisu<= 4.2.04.2.1

Affected products

VendorProductAffected versions
OpenhabOpenhab
before 4.2.1

Weakness classification

References