目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2023-41896— Home Assistant 数据伪造问题漏洞

一分钟漏洞结论

影响对象
home-assistant core
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Home Assistant是一套开源的家庭自动化管理系统。该系统主要用于控制家庭自动化设备。 Home assistant 2023.9.0之前版本存在安全漏洞,该漏洞源于Home assistant没有设置HTTP安全标头。攻击者可利用该漏洞进行点击劫持攻击。

CVSS 7.1 · High EPSS 0.27% · P19
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2023-41896 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Fake websocket server installation permits full takeover in Home Assistant Core
来源: CVE Program / CVE List V5
Vulnerability Description
Home assistant is an open source home automation. Whilst auditing the frontend code to identify hidden parameters, Cure53 detected `auth_callback=1`, which is leveraged by the WebSocket authentication logic in tandem with the `state` parameter. The state parameter contains the `hassUrl`, which is subsequently utilized to establish a WebSocket connection. This behavior permits an attacker to create a malicious Home Assistant link with a modified state parameter that forces the frontend to connect to an alternative WebSocket backend. Henceforth, the attacker can spoof any WebSocket responses and trigger cross site scripting (XSS). Since the XSS is executed on the actual Home Assistant frontend domain, it can connect to the real Home Assistant backend, which essentially represents a comprehensive takeover scenario. Permitting the site to be iframed by other origins, as discussed in GHSA-935v-rmg9-44mw, renders this exploit substantially covert since a malicious website can obfuscate the compromise strategy in the background. However, even without this, the attacker can still send the `auth_callback` link directly to the victim user. To mitigate this issue, Cure53 advises modifying the WebSocket code’s authentication flow. An optimal implementation in this regard would not trust the `hassUrl` passed in by a GET parameter. Cure53 must stipulate the significant time required of the Cure53 consultants to identify an XSS vector, despite holding full control over the WebSocket responses. In many areas, data from the WebSocket was properly sanitized, which hinders post-exploitation. The audit team eventually detected the `js_url` for custom panels, though generally, the frontend exhibited reasonable security hardening. This issue has been addressed in Home Assistant Core version 2023.8.0 and in the npm package home-assistant-js-websocket in version 8.2.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
对数据真实性的验证不充分
来源: CVE Program / CVE List V5
Vulnerability Title
Home Assistant 数据伪造问题漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Home Assistant是一套开源的家庭自动化管理系统。该系统主要用于控制家庭自动化设备。 Home assistant 2023.9.0之前版本存在安全漏洞,该漏洞源于Home assistant没有设置HTTP安全标头。攻击者可利用该漏洞进行点击劫持攻击。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
home-assistant core Home Assistant Core : < 2023.8.0 -

二、漏洞 CVE-2023-41896 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2023-41896 的情报信息

登录查看更多情报信息。

CVE-2023-41896 厂商安全公告 (2)

同批安全公告 · home-assistant · 2023-10-19 · 共 8 条

CVE-2023-41897 8.8 HIGH Home Assistant 安全漏洞
CVE-2023-41895 8.8 HIGH Home Assistant 跨站脚本漏洞
CVE-2023-44385 8.6 HIGH Home Assistant Companion 跨站请求伪造漏洞
CVE-2023-41898 8.6 HIGH Home Assistant 代码注入漏洞
CVE-2023-41899 6.6 MEDIUM Home Assistant 代码问题漏洞
CVE-2023-41894 5.3 MEDIUM Home Assistant 安全漏洞
CVE-2023-41893 4.3 MEDIUM Home Assistant 信息泄露漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2023-41896

暂无评论


发表评论