Skip to content

CVE-2021-21266 XXE vulnerability in OpenHAB

MediumCVSS 5.0 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known

Description

openHAB is a vendor and technology agnostic open source automation software for your home. In openHAB before versions 2.5.12 and 3.0.1 the XML external entity (XXE) attack allows attackers in the same network as the openHAB instance to retrieve internal information like the content of files from the file system. Responses to SSDP requests can be especially malicious. All add-ons that use SAX or JAXB parsing of externally received XML are potentially subject to this kind of attack. In openHAB, the following add-ons are potentially impacted: AvmFritz, BoseSoundtouch, DenonMarantz, DLinkSmarthome, Enigma2, FmiWeather, FSInternetRadio, Gce, Homematic, HPPrinter, IHC, Insteon, Onkyo, Roku, SamsungTV, Sonos, Roku, Tellstick, TR064, UPnPControl, Vitotronic, Wemo, YamahaReceiver and XPath Tranformation. The vulnerabilities have been fixed in versions 2.5.12 and 3.0.1 by a more strict configuration of the used XML parser.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
openhab < 2.5.12; = 3.0.0 2.5.12 Fixed
openhab-addons = < 2.5.12; = = 3.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
openhab < 2.5.12 2.5.12
openhab = 3.0.0 No fix listed
openhab-addons = < 2.5.12 No fix listed
openhab-addons = = 3.0.0 No fix listed

References