CVE-2022-31181
Description
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.
CWE
- CWE-89 — CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
- CWE-74 — CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Affected
- PrestaShop / PrestaShop — v=>= 1.6.0.10, < 1.7.8.7 [affected]
CVSS
- 3.1 score=9.8 severity=CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-hrgx-p36p-89q4 x_refsource_CONFIRM
- https://github.com/PrestaShop/PrestaShop/commit/b6d96e7c2a4e35a44e96ffbcdfd34439b56af804 x_refsource_MISC
- https://github.com/PrestaShop/PrestaShop/releases/tag/1.7.8.7 x_refsource_MISC
Source
cvelistV5-main/cves/2022/31xxx/CVE-2022-31181.json