Vulnerability · Published Feb 20, 2020 · Assigned by GitHub_M

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

High 7.7

In plain English

A high-severity improper access control in openhab-addons from openhab. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities).

Severity (CVSS 3.1)7.7High
Exploit odds (30 days)2.0%top 19.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 (as reported)

VendorProductVersions
openhab openhab-addons < 2.5.2

Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

References