VDB
Sign up
HIGH8.8

GHSA-mqhg-v22x-pqj8

Bagisto is vulnerable to SSTI via name parameters provided by non-admin low-privilege users

Quick fix

GHSA-mqhg-v22x-pqj8 — bagisto/bagisto: upgrade to the fixed version with the command below.

composer require bagisto/bagisto:^2.3.10

Details

### Summary SSTI is possible via first name and last name parameters provided by lowest-privileged users. ### Details 1. Go to `http://127.0.0.1:8000/` and login or signup 2. Go to `http://127.0.0.1:8000/customer/account/profile` 3. Now edit the first name and last name to {{7*7}} 4. Notice it appears as 49

### POC - Video attached with the report: https://github.com/user-attachments/assets/f93932b5-2a57-4f34-897e-4151a5168912

### Impact This can lead to RCE, command injection.

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