CVE-2020-15160
Blind SQL Injection in PrestaShop
Check your servers for CVE-2020-15160
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2020-15160 affects prestashop, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
PrestaShop from version 1.7.5.0 and before version 1.7.6.8 is vulnerable to a blind SQL Injection attack in the Catalog Product edition page with location parameter. The problem is fixed in 1.7.6.8
Exploitation
EPSS 10.8%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 95.9% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| PrestaShop |
affected >= 1.7.5.0, < 1.7.6.8
|
Is my server affected?
Find the installed version of prestashop and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i prestashop
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2020-15160 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-15160RHEL, Rocky, Alma, Fedora
rpm -q prestashop
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-15160Alpine
apk list --installed | grep -i prestashopWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2020-15160
trivy image --scanners vuln IMAGE | grep CVE-2020-15160
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://github.com/PrestaShop/PrestaShop/releases/tag/1.7.6.8 github.com
- https://github.com/PrestaShop/PrestaShop/commit/3fa0dfa5a8f4b149c7c90b948a12b4f5999a5ef8 github.com
- http://packetstormsecurity.com/files/162140/PrestaShop-1.7.6.7-SQL-Injection.html packetstormsecurity.com
Source: the record CVE-2020-15160 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse