VDB
Sign up
MEDIUM5.5

GHSA-83j2-qhx2-p7jc

PrestaShop blockreassurance BO User can remove any file from server when adding a and deleting a block

Quick fix

GHSA-83j2-qhx2-p7jc — prestashop/blockreassurance: upgrade to the fixed version with the command below.

composer require prestashop/blockreassurance:^5.1.4

Details

### Impact When adding a block in blockreassurance module, a BO user can modify the http request and give the path of any file in the project instead of an image. When deleting the block from the BO, the file will be deleted.

It is possible to make the website completely unavailable by removing index.php for example.

### Patches v5.1.4

### Workarounds No workaround available

### References

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/prestashop/blockreassurance
Introduced in: 0Fixed in: 5.1.4
Fixcomposer require prestashop/blockreassurance:^5.1.4

References