Remote Code Execution (RCE) Affecting org.openhab.addons.bundles:org.openhab.transform.exec package, versions [,2.5.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.97% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGOPENHABADDONSBUNDLES-551928
  • published21 Feb 2020
  • disclosed21 Feb 2020
  • creditUnkniwn

Introduced: 21 Feb 2020

CVE-2020-5242  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.openhab.addons.bundles:org.openhab.transform.exec to version 2.5.2 or higher.

Overview

org.openhab.addons.bundles:org.openhab.transform.exec is an OpenHAB Add On.

Affected versions of this package are vulnerable to Remote Code Execution (RCE). It allows 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.

CVSS Base Scores

version 3.1