SQL Injection in Prestashop
CVE-2022-31181
PrestaShop is an Open Source e-commerce platform. In versions from 1.6.0.10 and before 1.7.8.7 PrestaShop is subject to an SQL injection vulnerability which can be chained to call PHP's Eval function on attacker input. The problem is fixed in version 1.7.8.7. Users are advised to upgrade. Users unable to upgrade may delete the MySQL Smarty cache feature.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.077, 94.7th percentile (scored ); up from 0.067 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.067 · newest: 0.077 · change: +0.009
Affected products
- Prestashop — versions >= 1.6.0.10, < 1.7.8.7
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- drkbcn/lblfixer_cve_2022_31181 (last pushed 2022-07-28): Module for PrestaShop 1.6.1.X/1.7.X to fix CVE-2022-31181 / CVE-2022-36408 vulnerability (Chain SQL Injection)
Also mentioned in 13 other repositories (20142995/nuclei-templates, ARPSyndicate/cvemon, cyb3r-w0lf/nuclei-template-collection, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/PrestaShop/PrestaShop/security/advisories/GHSA-hrgx-p36p-89q4 (Third Party Advisory, Mitigation)
- github.com/PrestaShop/PrestaShop/commit/b6d96e7c2a4e35a44e96ffbcdfd34439b56af804 (Patch, Third Party Advisory)
- github.com/PrestaShop/PrestaShop/releases/tag/1.7.8.7 (Third Party Advisory, Release Notes)
This CVE has public exploit evidence. See the latest CVEs with public exploits.