CVE-2024-42470 CometVisu Backend for openHAB has a sensitive information disclosure vulnerability
Unauthenticated attackers can access sensitive data and modify settings in the CometVisu add-on for openHAB due to missing authentication on several endpoints.
- 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-42470?
CVE-2024-42470 is a medium-severity missing authorization 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. Several endpoints in versions prior to 4.2.1 of the CometVisu add-on of openHAB don't require authentication. This makes it possible for unauthenticated attackers to modify or to steal sensitive data. This issue may lead to sensitive information disclosure. Users should upgrade to version 4.2.1 of the CometVisu add-on of openHAB to receive a patch.
Weakness: CWE-862
Which versions are affected by CVE-2024-42470?
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-42470?
Upgrade org.openhab.ui.bundles:org.openhab.ui.cometvisu to 4.2.1 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-42470 being exploited?
There is no known exploitation of CVE-2024-42470 in the wild and no public exploit code.
Other vulnerabilities in openhab-webui
Sources
Also known as GHSA-3g4c-hjhr-73rj.