CVE-2024-42468
Java vulnerability analysis and mitigation

Overview

CometVisuServlet in versions prior to 4.2.1 is susceptible to an unauthenticated path traversal vulnerability in openHAB, a provider of open-source home automation software. Local files on the server can be requested via HTTP GET on the CometVisuServlet, which may lead to information disclosure. The vulnerability was discovered in August 2024 and affects the visualization add-on CometVisu (NVD, GitHub Advisory).

Technical details

The vulnerability stems from insufficient path validation in the CometVisuServlet's file handling mechanism. The issue occurs in the getRequestedFile method where URL decoding is performed without proper path validation, allowing for directory traversal. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 HIGH (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) by NIST NVD, while GitHub assessed it as 5.3 MEDIUM (Security Lab).

Impact

The vulnerability allows attackers to access local files on the server through path traversal, potentially leading to sensitive information disclosure. An attacker can exploit this vulnerability to read arbitrary files accessible to the application process (Security Lab).

Exploitability

The vulnerability can be exploited without authentication via HTTP GET requests to the CometVisuServlet. A proof of concept demonstrates that an attacker can access sensitive files like /etc/passwd by using URL double encoding of path traversal sequences (Security Lab).

Mitigation and workarounds

Users should upgrade to version 4.2.1 of the CometVisu add-on of openHAB to receive the security patch. The vulnerability has been fixed by implementing proper path validation (GitHub Advisory, NVD).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-76904CRITICAL9.8
  • Java logoJava
  • org.geotools.jdbc:gt-jdbc-postgis
NoYesAug 21, 2026
GHSA-mqjf-5f49-2fjhCRITICAL9.8
  • Java logoJava
  • org.geotools:gt-jdbc-postgis
NoYesAug 21, 2026
CVE-2026-61827HIGH8.7
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63202HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63124HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management