إرسال #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)
ارسال05/11/2026 08:21 PM (27 أيام منذ)
الاعتدال02/12/2026 06:12 PM (27 days later)
الحالةتمت الموافقة
إدخال VulDB447939 [Webkul Bagisto حتى 2.4.10 Shop Cart Simple.php prepareForCart تجاوز الصلاحيات]
النقاط20

Interested in the pricing of exploits?

See the underground prices here!