| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|---|---|
| prestashop/prestashop | ≥ 1.6.0.10, < 1.7.8.7 | 1.7.8.7 |
| prestashop | ≥ 1.6.0.10, < 1.7.8.7 | 1.7.8.7 |
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';
}
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí