CVE-2021-21266
XXE vulnerability in OpenHAB
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
openHAB es un proveedor y software de automatización de código abierto de tecnología agnóstica para su hogar.  En openHAB anterior a las versiones 2.5.12 y 3.0.1, el ataque de tipo XML external entity (XXE) permite a atacantes en la misma red que la instancia de openHAB recupere información interna como el contenido de archivos del sistema de archivos. Las respuestas a las peticiones SSDP pueden ser especialmente maliciosas. Todos los add-ons que usan el análisis SAX o JAXB de XML recibido externamente están potencialmente sujetos a este tipo de ataque. En openHAB, los siguientes add-ons pueden estar afectados: AvmFritz, BoseSoundtouch, DenonMarantz, DLinkSmarthome, Enigma2, FmiWeather, FSInternetRadio, Gce, Homematic, HPPrinter, IHC, Insteon, Onkyo, Roku, SamsungTV, Sonos, Roku, TR064 UPnPControl, Vitotronic, Wemo, YamahaReceiver y XPath Tranformation. Las vulnerabilidades han sido corregidas en las versiones 2.5.12 y 3.0.1 mediante una configuración más estricta del analizador XML utilizado
CVSS Scores
SSVC
- Decision:-
Timeline
- 2020-12-22 CVE Reserved
- 2021-02-01 CVE Published
- 2023-03-07 EPSS Updated
- 2024-08-03 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-611: Improper Restriction of XML External Entity Reference
CAPEC
References (4)
URL | Tag | Source |
---|---|---|
https://dev.to/brianverm/configure-your-java-xml-parsers-to-prevent-xxe-213c | Third Party Advisory | |
https://www.contrastsecurity.com/security-influencers/xml-xxe-pitfalls-with-jaxb | Technical Description |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Openhab Search vendor "Openhab" | Openhab Search vendor "Openhab" for product "Openhab" | < 2.5.12 Search vendor "Openhab" for product "Openhab" and version " < 2.5.12" | - |
Affected
| ||||||
Openhab Search vendor "Openhab" | Openhab Search vendor "Openhab" for product "Openhab" | 3.0.0 Search vendor "Openhab" for product "Openhab" and version "3.0.0" | - |
Affected
|