Altair: DOM-based XSS via attacker-controlled script URLs in the iframe sandbox
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| altair-graphqlaltair | — | 記載なし |
| altair-graphqlaltair-express-middleware | — | 記載なし |
| altair-graphqlaltair-fastify-plugin | — | 記載なし |
| altair-graphqlaltair-koa-middleware | — | 記載なし |
| altair-graphqlaltair-static | — | 記載なし |
| npmaltair-static |
7.2.4 以上 8.5.8 未満→ 8.5.8 |
8.5.8 |
| npmaltair-express-middleware |
7.2.4 以上 8.5.8 未満→ 8.5.8 |
8.5.8 |
| npmaltair-koa-middleware |
7.2.4 以上 8.5.8 未満→ 8.5.8 |
8.5.8 |
| npmaltair-fastify-plugin |
7.2.4 以上 8.5.8 未満→ 8.5.8 |
8.5.8 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Altair is a GraphQL client for all platforms. From 7.2.4 until 8.5.8, packages/altair-iframe-sandbox/src/main.ts reads plugin_sandbox_opts from the iframe-sandbox query string and passes attacker-controlled scriptUrls to injectScript() in packages/altair-core/src/utils/inject.ts, which creates script elements in the page. The intended parent iframe flow places the page in an iframe with sandbox allow-scripts and without allow-same-origin, but direct navigation to a crafted iframe-sandbox URL omits that isolation and executes the supplied script in the origin serving Altair. Exploitation requires a victim to open the crafted URL, and the resulting script can access script-readable storage and make same-origin requests according to the deployment's authentication and cookie controls. This issue is fixed in version 8.5.8.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com