提交 #1039543: github.com/elizaOS eliza 2.0.3-beta.7 Local Sensitive Logic exposure lead to token leak信息

标题github.com/elizaOS eliza 2.0.3-beta.7 Local Sensitive Logic exposure lead to token leak
描述The ElizaOS desktop app starts a local renderer HTTP server (Electrobun main process, Bun.serve, default 127.0.0.1:5174, incrementing if taken). Two flaws on this server combine: Every static response is served with Access-Control-Allow-Origin: * — JavaScript on any website can read the response bodies cross-origin. The built-in index page embeds the app's boot config in plaintext, including the agent API's OWNER-level Bearer token (apiToken) and its base URL (apiBase). So if the victim simply opens any attacker-controlled web page while the desktop app is running, that page performs one plain cross-origin GET (a simple request, no preflight) to http://127.0.0.1:5174/, reads the full HTML, and extracts the OWNER token with a regex. Zero interaction, no dialogs, completely silent — the app's highest-privilege credential is handed to an arbitrary website.
来源⚠️ https://github.com/elizaOS/eliza/issues/33034
用户
 akamoli (UID 101918)
提交2026-10-16 17時24分 (23 日前)
管理2026-11-08 21時33分 (23 days later)
状态已接受
VulDB条目433011 [elizaOS eliza 2.0.3-beta.7 HTTP Server api-base-owner.ts 信息公开]
积分20

Want to know what is going to be exploited?

We predict KEV entries!