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 trend (30 days)EPSS over the last 30 days for CVE-2022-31181: rose from 0.067 to 0.077.

EPSS over last 30 days · oldest: 0.067 · newest: 0.077 · change: +0.009

Affected products

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