Arbitrary Command Execution via REST Calls in openHAB

Arbitrary Command Execution via REST Calls in openHAB

CVE-2020-5242 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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.

Learn more about our Cis Benchmark Audit For Bind.