Kirby(キルビー)にアップロード処理の競合状態による認証済みユーザーからのXSS脆弱性
Summary
Kirbyのチャンク分割アップロード処理に競合状態の問題があり、アップロード権限を持つユーザーがSVGの無害化を回避し、サイトのオリジンでスクリプトを保存型で実行できるおそれがあります。影響するのは5.0.0以降5.6.4より前のバージョンで、修正版の5.6.4が公開されています。5.6.4以上へのアップデートを急いでください。
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.
Kirbyのチャンク分割アップロード処理に競合状態の問題があり、アップロード権限を持つユーザーがSVGの無害化を回避し、サイトのオリジンでスクリプトを保存型で実行できるおそれがあります。影響するのは5.0.0以降5.6.4より前のバージョンで、修正版の5.6.4が公開されています。5.6.4以上へのアップデートを急いでください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| getkirbykirby |
≥ 5.0.0, < 5.6.4→ 5.6.4 |
5.6.4 |
Original description The description as published by the source.
Kirby 5.0.0 before 5.6.4 contains a race condition in Kirby\Api\Upload::processChunk() that allows authenticated users with upload permission to bypass SVG sanitization. Attackers can race concurrent chunked uploads sharing a filename to swap a benign SVG with a script-bearing SVG, executing stored cross-site scripting in the site origin.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com