← back
CVE-2023-41897

Lack of XFO header allows clickjacking in Home Assistant Core

CVSS 8.8 HIGHEPSS 0.9%CWE-1021
In short

Home Assistant doesn't prevent its interface from being embedded in fake websites, allowing attackers to trick users into clicking buttons that install malicious add-ons and take control of their smart home system.

Technical detail

Missing X-Frame-Options and related security headers enables clickjacking attacks where an attacker can embed Home Assistant in an iframe on a malicious site, deceiving users into granting permissions or installing unauthorized add-ons that execute arbitrary code within the Home Assistant context.

Summary generated and translated by AI from the official description.
Home assistant is an open source home automation. Home Assistant server does not set any HTTP security headers, including the X-Frame-Options header, which specifies whether the web page is allowed to be framed. The omission of this and correlating headers facilitates covert clickjacking attacks and alternative exploit opportunities, such as the vector described in this security advisory. This fault incurs major risk, considering the ability to trick users into installing an external and malicious add-on with minimal user interaction, which would enable Remote Code Execution (RCE) within the Home Assistant application. This issue has been addressed in version 2023.9.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
home-assistant · core

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →