CVE-2023-39524 PrestaShop vulnerable to boolean SQL injection in search product in BO

Medium 6.7 Published Updated

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.

PackageAffectedFixed in
prestashop/prestashop PackagistAll versions8.1.1
prestashop/prestashop PackagistAll versions8.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.

All Prestashop Prestashop vulnerabilities

Sources

Also known as GHSA-75p5-jwx4-qw9h.

Is CVE-2023-39524 in your software?

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

Check your SBOMs for free