Lavish(lavish-axi)にDNS再バインディングで任意のローカルファイルを読まれる脆弱性
概要
Lavishの0.1.43より前のlavish-axiには、ローカルで動くサーバーが認証とHost・Originの確認を行わない脆弱性があります。サーバーの起動中に攻撃者のサイトを開くと、サーバーが読める任意のファイルの内容を読み取られるおそれがあり、AIエージェントへのプロンプト投入も起こりえます。修正版の0.1.43で対処されているため、更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Lavishの0.1.43より前のlavish-axiには、ローカルで動くサーバーが認証とHost・Originの確認を行わない脆弱性があります。サーバーの起動中に攻撃者のサイトを開くと、サーバーが読める任意のファイルの内容を読み取られるおそれがあり、AIエージェントへのプロンプト投入も起こりえます。修正版の0.1.43で対処されているため、更新してください。
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Lavish is the new editor for your HTML artifacts. Prior to 0.1.43, the lavish-axi loopback HTTP server did not authenticate requests or validate Host and Origin values on session, artifact, prompt, and polling routes. A website visited while the server is running can use DNS rebinding to send same-origin browser requests to the local service. POST /api/sessions accepts a caller-selected file path and returns its deterministic session key; GET /artifact/:key/index.html then returns the file contents, allowing disclosure of any file readable by the server process without an existing session. An attacker can also queue text through POST /api/:key/prompts for an active agent session when the artifact path is known or guessed. Visiting the attacker-controlled website is the required user interaction. This vulnerability is fixed in 0.1.43.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com