#VU25685 Code Injection in openHAB Add-ons - CVE-2020-5242


Vulnerability identifier: #VU25685

Vulnerability risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2020-5242

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
openHAB Add-ons
Web applications / Modules and components for CMS

Vendor: openHAB

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation. A remote attacker can use REST calls to install the "EXEC" binding or "EXEC" transformation service and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

openHAB Add-ons: 0.6.0 - 2.5.1


External links
https://github.com/openhab/openhab-addons/commit/4c4cb664f2e2c3866aadf117d22fb54aa8dd0031
https://github.com/openhab/openhab-addons/security/advisories/GHSA-w698-693g-23hv


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability