VDB
Sign up
CRITICAL9.8

GHSA-5j4h-4f72-qpm6

Bagisto has Normal & Blind SSTI from low-privilege user when ordering product

Quick fix

GHSA-5j4h-4f72-qpm6 — bagisto/bagisto: upgrade to the fixed version with the command below.

composer require bagisto/bagisto:^2.3.10

Details

### Summary SSTI when normal customer orders any product in add address step can inject value run in admin view. ### Details `As normal user` 1. Go to `http://127.0.0.1:8000/` 2. Add order to cart and continue to checkout 3. In step of add address inject this value {{7*7}} in any input

`As admin` 1. Go to `http://127.0.0.1:8000/admin/sales/orders` 2. And notice the vlaue appear in admin view 49

`As normal user` 3. Go to add address normally `http://127.0.0.1:8000/customer/account/addresses/create` and inject {{7*7}} on it and will notice it appear 49 <img width="1868" height="868" alt="image" src="https://github.com/user-attachments/assets/279627e9-6361-4d39-a500-0fc20e163d25" />

### PoC - Video attached with the report: https://github.com/user-attachments/assets/a814b30c-a3e2-4a40-8644-336e21e60d0d

### Impact - Can lead to RCE

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/bagisto/bagisto
Introduced in: 0Fixed in: 2.3.10
Fixcomposer require bagisto/bagisto:^2.3.10

References