提出 #1076937: Bagisto 2.4.12 Unrestricted Upload of File with Dangerous Type情報

タイトルBagisto 2.4.12 Unrestricted Upload of File with Dangerous Type
説明Bagisto is affected by an unrestricted file upload vulnerability that leads to stored cross-site scripting. The storefront add-to-cart endpoint POST /api/checkout/cart is registered outside the customer authentication middleware, so it is reachable by unauthenticated visitors. When a product exposes a "file" customizable option, the uploaded file is stored through Laravel's default public disk into the web-accessible /storage path, and the only file-type check (in Webkul\Product\Type\Simple) is optional and validates the client-supplied filename extension rather than the file content. An unauthenticated attacker can therefore bypass the client-side extension allowlist and write an HTML file to the public web root. When a victim opens the resulting file URL, the attacker's JavaScript executes in the store's origin, enabling theft of customer or administrator sessions.
ソース⚠️ https://gist.github.com/k4z01/322c12b116eb348ad7631a8284290926
ユーザー
 k4z0 (UID 101097)
送信2026年11月05日 20:21 (27 日 ago)
モデレーション2026年12月02日 18:12 (27 days later)
ステータス承諾済み
VulDBエントリ447939 [Webkul Bagisto 迄 2.4.10 Shop Cart Simple.php prepareForCart 特権昇格]
ポイント20

Might our Artificial Intelligence support you?

Check our Alexa App!