CVE-2023-41897: Lack of XFO header allows clickjacking in Home Assistant Core
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.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2023-41897?
CVE-2023-41897 is a vulnerability in Home Assistant server where it does not set HTTP security headers, making it vulnerable to clickjacking attacks.
What is the severity of CVE-2023-41897?
The severity of CVE-2023-41897 is critical with a CVSS score of 9.6.
How does CVE-2023-41897 affect Home Assistant?
CVE-2023-41897 affects Home Assistant by not setting any HTTP security headers, which can lead to covert clickjacking attacks.
How can I fix CVE-2023-41897?
To fix CVE-2023-41897, you should update your Home Assistant server to a version that sets the necessary HTTP security headers.
Where can I find more information about CVE-2023-41897?
You can find more information about CV3-2023-41897 in the following references: [Github Advisory 1](https://github.com/home-assistant/core/security/advisories/GHSA-935v-rmg9-44mw), [Github Advisory 2](https://github.com/home-assistant/core/security/advisories/GHSA-cr83-q7r2-7f5q), [Home Assistant Blog](https://www.home-assistant.io/blog/2023/10/19/security-audits-of-home-assistant/).