Storybook 開発サーバーで同一ネットワークから任意のコードを書き込まれるおそれ
Summary
同じローカルネットワーク上の攻撃者が WebSocket の認証トークンを入手し、ストーリーファイルにコードを書き込めるおそれがあります。影響を受けるのは Storybook 8.0.0 から 8.6.19 未満、9.0 系から 9.1.21 未満、10.6.2 未満、11.0.0-alpha.6 未満です。修正版は 8.6.19、9.1.21、10.6.2、11.0.0-alpha.6 で、速やかに更新してください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
同じローカルネットワーク上の攻撃者が WebSocket の認証トークンを入手し、ストーリーファイルにコードを書き込めるおそれがあります。影響を受けるのは Storybook 8.0.0 から 8.6.19 未満、9.0 系から 9.1.21 未満、10.6.2 未満、11.0.0-alpha.6 未満です。修正版は 8.6.19、9.1.21、10.6.2、11.0.0-alpha.6 で、速やかに更新してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| storybookjs | storybook | — | — |
Original description The description as published by the source.
Storybook is a frontend workshop for building user interface components and pages in isolation. From 8.0.0 until 8.6.19, 9.1.21, 10.6.2, and 11.0.0-alpha.6, the Storybook development server can expose its WebSocket authentication token to clients able to load its HTML pages over a local network. A LAN attacker can obtain the token and invoke WebSocket-backed file-writing or testing functionality. Weak story-write validation can allow code to be placed in story files. If the Storybook Vitest addon is installed with an old version of Vitest, the payload can use a Vitest API to write additional files or execute commands. Depending on the payload and local tooling, the attack can lead to code execution with the developer's privileges. This issue is fixed in 8.6.19, 9.1.21, 10.6.2, and 11.0.0-alpha.6.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com