Hubleysに認証済みユーザーが悪意あるスクリプトを仕込める脆弱性、修正版は0.5.2
Summary
Hubleysでは、一般ユーザーが背景画像として任意の拡張子のファイルをアップロードでき、HTMLとして配信されることでスクリプトが実行される保存型のクロスサイトスクリプティングの脆弱性があります。影響を受けるのは0.5.2より前のバージョンです。修正版の0.5.2が公開されているため、速やかに更新してください。
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.
Hubleysでは、一般ユーザーが背景画像として任意の拡張子のファイルをアップロードでき、HTMLとして配信されることでスクリプトが実行される保存型のクロスサイトスクリプティングの脆弱性があります。影響を受けるのは0.5.2より前のバージョンです。修正版の0.5.2が公開されているため、速やかに更新してください。
Original description The description as published by the source.
Hubleys is a dashboard for self-hosted services. Prior to version 0.5.2, any authenticated (non-admin) Hubleys user can upload a file with an arbitrary extension as their dashboard "background image," and the server will later serve that file back with a Content-Type derived straight from the attacker's chosen extension - so uploading an .html file gets it served as text/html. Because the endpoint that serves it returns a manually-constructed response rather than going through SvelteKit's normal page-rendering pipeline, the app's configured Content-Security-Policy never gets attached to it either, so a script embedded in the upload runs unrestricted. This issue has been patched in version 0.5.2.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com