What’s Vulnerable › Vulnerabilities

CVE-2020-5242: openHAB exec add-ons allow remote arbitrary command execution

Description

openHAB before 2.5.2 allow a remote attacker to use REST calls to install the EXEC binding or EXEC transformation service and execute arbitrary commands on the system with the privileges of the user running openHAB. Starting with version 2.5.2 all commands need to be whitelisted in a local file which cannot be changed via REST calls.

Affected products

How to fix

Upgrade to a fixed version: openhab-webui 2.5.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-5242 or the next vulnerability affects your stack