Eval injection possible if the shop is vulnerable to an SQL injection.
The problem is fixed in version 1.7.8.7
Delete the MySQL Smarty cache feature by removing these lines in the file config/smarty.config.inc.php
lines 43-46 (PrestaShop 1.7) or 40-43 (PrestaShop 1.6):
if (Configuration::get('PS_SMARTY_CACHING_TYPE') == 'mysql') {
include _PS_CLASS_DIR_.'Smarty/SmartyCacheResourceMysql.php';
$smarty->caching_type = 'mysql';
}
{ "nvd_published_at": "2022-08-01T20:15:00Z", "github_reviewed_at": "2022-07-29T22:27:27Z", "severity": "CRITICAL", "github_reviewed": true, "cwe_ids": [ "CWE-89", "CWE-95" ] }