Invia #1076938: Bagisto 2.4.11 Unrestricted Upload of File with Dangerous Typeinformazioni

TitoloBagisto 2.4.11 Unrestricted Upload of File with Dangerous Type
DescrizioneBagisto is affected by an unrestricted file upload vulnerability that leads to authenticated remote code execution. In the admin catalog attribute create and update flow (POST /admin/catalog/attributes/create), the controller Webkul\Admin\Http\Controllers\Catalog\AttributeController validates only an attribute option's text fields (swatch_alt, swatch_file_name) and applies no image, MIME, or extension validation to the uploaded file options.*.swatch_value. The repository method Webkul\Attribute\Repositories\AttributeOptionRepository::uploadSwatchImage then writes the raw bytes to Laravel's default public disk using an extension taken from the client-supplied filename (getClientOriginalExtension), under storage/app/public/attribute_option, which is served at APP_URL/storage. An authenticated admin-panel user with the catalog.attributes.create permission can intercept the save request and replace the swatch image with a PHP file which is stored as, /storage/attribute_option/shell.php for example. The file is executed when requested, yielding command execution as the web server user. Because catalog.attributes.create is a distinct ACL permission, a role granted only attribute management can use this to obtain code execution as well.
Fonte⚠️ https://gist.github.com/k4z01/bca784b98599ee51fe0548af0f80bb11
Utente
 k4z0 (UID 101097)
Sottomissione05/11/2026 20:22 (27 giorni fa)
Moderazione02/12/2026 18:14 (27 days later)
StatoAccettato
Voce VulDB447949 [Webkul Bagisto fino a 2.4.10 Catalog Attribute Option Swatch Upload AttributeOptionRepository.php uploadSwatchImage swatch_value escalationi di privilegi]
Punti20

Interested in the pricing of exploits?

See the underground prices here!