Lavish(lavish-axi)にDNS再バインディングで任意のローカルファイルを読まれる脆弱性
Summary
Lavishの0.1.43より前のlavish-axiには、ローカルで動くサーバーが認証とHost・Originの確認を行わない脆弱性があります。サーバーの起動中に攻撃者のサイトを開くと、サーバーが読める任意のファイルの内容を読み取られるおそれがあり、AIエージェントへのプロンプト投入も起こりえます。修正版の0.1.43で対処されているため、更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Lavishの0.1.43より前のlavish-axiには、ローカルで動くサーバーが認証とHost・Originの確認を行わない脆弱性があります。サーバーの起動中に攻撃者のサイトを開くと、サーバーが読める任意のファイルの内容を読み取られるおそれがあり、AIエージェントへのプロンプト投入も起こりえます。修正版の0.1.43で対処されているため、更新してください。
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com