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

Medium 5.5 Published Updated

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.

PackageAffectedFixed in
prestashop/blockreassurance PackagistAll versions5.1.4
prestashop/blockreassurance PackagistAll versions5.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.

Sources

Also known as GHSA-83j2-qhx2-p7jc.

Is CVE-2023-47109 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free