CVE-2024-42468 Path traversal (CometVisu)
Unauthenticated attackers can read local server files via path traversal in the CometVisuServlet of openHAB.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-42468?
CVE-2024-42468 is a medium-severity path traversal vulnerability in openhab-webui, published on 9 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
openHAB, a provider of open-source home automation software, has add-ons including the visualization add-on CometVisu. CometVisuServlet in versions prior to 4.2.1 is susceptible to an unauthenticated path traversal vulnerability. Local files on the server can be requested via HTTP GET on the CometVisuServlet. This issue may lead to information disclosure. Users should upgrade to version 4.2.1 of the CometVisu add-on of openHAB to receive a patch.
Weakness: CWE-22
Which versions are affected by CVE-2024-42468?
2 open source packages ship an affected version, including org.openhab.ui.bundles:org.openhab.ui.cometvisu. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.openhab.ui.bundles:org.openhab.ui.cometvisu Maven | All versions | 4.2.1 |
org.openhab.ui.bundles:org.openhab.ui.cometvisu Maven | All versions | 4.2.1 |
Products include Openhab Openhab.
How do I fix CVE-2024-42468?
Upgrade org.openhab.ui.bundles:org.openhab.ui.cometvisu to 4.2.1 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-42468 being exploited?
There is no known exploitation of CVE-2024-42468 in the wild and no public exploit code.
Other vulnerabilities in openhab-webui
- CVE-2024-42469 CometVisu Backend for openHAB affected by RCE through path traversal
- CVE-2020-5242 openHAB exec add-ons allow remote arbitrary command execution
- CVE-2024-42470 CometVisu Backend for openHAB has a sensitive information disclosure vulnerability
- CVE-2021-21266 XXE vulnerability in OpenHAB
Sources
Also known as GHSA-pcwp-26pw-j98w.