CVE-2023-39524 PrestaShop vulnerable to boolean SQL injection in search product in BO
Attackers can perform boolean SQL injection via the product search field in the PrestaShop back office, potentially accessing or modifying data.
- 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-39524?
CVE-2023-39524 is a medium-severity SQL injection 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, SQL injection possible in the product search field, in BO's product page. Version 8.1.1 contains a patch for this issue. There are no known workarounds.
Weakness: CWE-89
Which versions are affected by CVE-2023-39524?
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-39524?
Upgrade prestashop/prestashop to 8.1.1 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2023-39524 being exploited?
There is no known exploitation of CVE-2023-39524 in the wild and no public exploit code.
Other vulnerabilities in Prestashop Prestashop
Sources
Also known as GHSA-75p5-jwx4-qw9h.