CVE-2023-47109 PrestaShop blockreassurance BO User can remove any file from server when adding a and deleting a block
A back-office user can delete arbitrary server files via path traversal in the blockreassurance module, potentially causing denial of service.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-47109?
CVE-2023-47109 is a medium-severity path traversal vulnerability in PrestaShop blockreassurance, published on 8 Nov 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
PrestaShop blockreassurance adds an information block aimed at offering helpful information to reassure customers that the store is trustworthy. 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. This issue has been patched in version 5.1.4.
Weakness: CWE-285
Which versions are affected by CVE-2023-47109?
2 open source packages ship an affected version, including prestashop/blockreassurance. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
prestashop/blockreassurance Packagist | All versions | 5.1.4 |
prestashop/blockreassurance Packagist | All versions | 5.1.4 |
Products include Prestashop Customer Reassurance Block.
How do I fix CVE-2023-47109?
Upgrade prestashop/blockreassurance to 5.1.4 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-47109 being exploited?
There is no known exploitation of CVE-2023-47109 in the wild and no public exploit code.
Other vulnerabilities in PrestaShop blockreassurance
Sources
Also known as GHSA-83j2-qhx2-p7jc.