Google Agent Development Kit for Javaの開発用Webサーバーで悪意あるWebページから操作される
Summary
開発者が閲覧した悪意あるWebページから、ローカルで動作中のエージェントを遠隔操作され、データを読み取られるおそれがあります。影響を受けるのは Agent Development Kit (ADK) for Java の google-adk-dev 0.1.0 から 1.13.0 未満、google-adk-maven-plugin 0.3.0 から 1.13.0 未満です。1.13.0 以降に更新してください。
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.
開発者が閲覧した悪意あるWebページから、ローカルで動作中のエージェントを遠隔操作され、データを読み取られるおそれがあります。影響を受けるのは Agent Development Kit (ADK) for Java の google-adk-dev 0.1.0 から 1.13.0 未満、google-adk-maven-plugin 0.3.0 から 1.13.0 未満です。1.13.0 以降に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GoogleAgent Development Kit (ADK) for Java |
≥ 0.3.0, < 1.13.0→ 1.13.0 |
1.13.0 |
Original description The description as published by the source.
Missing Origin Validation in WebSockets (CWE-1385) and Permissive Cross-domain Policy with Untrusted Domains (CWE-942) in the development web server (ADK Web) in Google Agent Development Kit (ADK) for Java (com.google.adk:google-adk-dev versions 0.1.0 before 1.13.0 and com.google.adk:google-adk-maven-plugin versions 0.3.0 before 1.13.0) allow a remote attacker to control a locally running agent and read its data via a malicious web page visited by a developer while the server is running. The /run_live WebSocket endpoint accepts connections from any origin by default (hardcoded via setAllowedOrigins("*") in versions 0.1.0 through 1.5.0, and defaulting to * via adk.web.cors.origins in versions 1.6.0 through 1.12.0), and since version 0.4.0 the REST API returns Access-Control-Allow-Origin: * by default. Because the server has no authentication and requests originate from the developer's browser (so binding to localhost does not prevent exploitation), a cross-origin page can send messages to the agent (triggering registered tools), stream agent responses, and list, read, create, or delete sessions and artifacts. In versions 1.6.0 through 1.12.0, users can mitigate the issue by setting the adk.web.cors.origins property to an explicit allowlist of trusted origins (such as http://localhost:8000). The vulnerability is fixed in version 1.13.0, which enforces a same-origin default for CORS and the /run_live WebSocket endpoint, and rejects DNS-rebinding requests over loopback.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- report github.com
- web github.com