Shopperに管理者アカウントを不正に作られる脆弱性、修正版は2.10.1
概要
Shopperで、社内の編集権限を持つスタッフがアップロードしたHTMLやSVGファイルを管理者が開くと、スクリプトが管理者の権限で動き、新しい管理者アカウントを作られる脆弱性が見つかりました。影響するのは2.0.0から2.10.1未満の2.x系と、3.0.0のプレリリース版beta.1とbeta.2です。2.10.1以降に更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Shopperで、社内の編集権限を持つスタッフがアップロードしたHTMLやSVGファイルを管理者が開くと、スクリプトが管理者の権限で動き、新しい管理者アカウントを作られる脆弱性が見つかりました。影響するのは2.0.0から2.10.1未満の2.x系と、3.0.0のプレリリース版beta.1とbeta.2です。2.10.1以降に更新してください。
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Shopper is a Headless e-commerce Admin Panel. In versions from 2.0.0 prior to 2.10.1 and in the 3.0.0 prereleases beta.1 and beta.2, authenticated back-office staff with a content-upload permission can store executable media on the administrator's own origin. In the 2.x implementation, relevant upload permissions include edit_products or add_brands, and packages/admin/config/media.php allows image/svg+xml in every media collection, including image fields whose image/* validation also accepts SVG. The product files collection in packages/admin/src/Livewire/Components/Products/Form/Files.php has no MIME restriction and accepts text/html as well. Media is served inline from the public disk under /storage/ with its own content type, without Content-Disposition: attachment or a Content-Security-Policy. When an administrator opens an uploaded HTML or SVG file, stored script executes in that administrator's session. In 2.x, the script can invoke packages/admin/src/Livewire/SlideOvers/CreateTeamMember.php, whose store() checks access_setting held by the viewing administrator but trusts client-supplied role_id, to create a new attacker-controlled administrator with a chosen password. This account persists after the uploaded file is deleted and gives access to customer data, orders, settings, and user/role management; the same script can exfiltrate data or grant permissions to the attacker's account. Direct account creation by the low-privileged uploader is…
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory nvd.nist.gov
- web 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