CVE-2023-39525 PrestaShop vulnerable to path traversal
Attackers can compromise files in the PrestaShop back office by exploiting a path traversal vulnerability in the import file deletion query.
- 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-39525?
CVE-2023-39525 is a medium-severity path traversal vulnerability in Prestashop Prestashop, published on 7 Aug 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
PrestaShop is an open source e-commerce web application. Prior to version 8.1.1, in the back office, files can be compromised using path traversal by replaying the import file deletion query with a specified file path that uses the traversal path. Version 8.1.1 contains a patch for this issue. There are no known workarounds.
Weakness: CWE-22
Which versions are affected by CVE-2023-39525?
2 open source packages ship an affected version, including prestashop/prestashop. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
prestashop/prestashop Packagist | All versions | 8.1.1 |
prestashop/prestashop Packagist | All versions | 8.1.1 |
Products include Prestashop Prestashop.
How do I fix CVE-2023-39525?
Upgrade prestashop/prestashop to 8.1.1 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-39525 being exploited?
There is no known exploitation of CVE-2023-39525 in the wild and no public exploit code.
Other vulnerabilities in Prestashop Prestashop
Sources
Also known as GHSA-m9r4-3fg7-pqm2.