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.
Remediation
References
https://github.com/openhab/openhab-addons/security/advisories/GHSA-w698-693g-23hv
https://github.com/openhab/openhab-addons/commit/4c4cb664f2e2c3866aadf117d22fb54aa8dd0031
Related Vulnerabilities
CVE-2016-5004 Vulnerability in maven package org.apache.xmlrpc:xmlrpc
CVE-2021-25924 Vulnerability in maven package cd.go.plugin:go-plugin-api
CVE-2020-7676 Vulnerability in npm package angular
CVE-2019-1003029 Vulnerability in maven package org.jenkins-ci.plugins:script-security
CVE-2016-8749 Vulnerability in maven package org.apache.camel:camel-jacksonxml