# PrestaShop 远程代码执行漏洞
## 概述
PrestaShop 是一个开源的电子商务平台。在版本从 1.6.0.10 到 1.7.8.7 之前,存在一个 SQL 注入漏洞,可被攻击者利用来调用 PHP 的 Eval 函数。该问题在版本 1.7.8.7 中得到了修复。用户被建议升级。
## 影响版本
- 1.6.0.10 至 1.7.8.7 之前的版本
## 细节
存在一个 SQL 注入漏洞,该漏洞可以被利用来调用 PHP 的 Eval 函数,从而允许攻击者执行任意代码。
## 影响
该漏洞可能导致攻击者执行任意代码,对系统安全构成威胁。用户应尽快升级到 1.7.8.7 版本或删除 MySQL Smarty 缓存功能以缓解风险。
| # | POC 描述 | 源链接 | 神龙链接 |
|---|---|---|---|
| 1 | Module for PrestaShop 1.6.1.X/1.7.X to fix CVE-2022-31181 / CVE-2022-36408 vulnerability (Chain SQL Injection) | https://github.com/drkbcn/lblfixer_cve_2022_31181 | POC详情 |
| 2 | PrestaShop versions from 1.6.0.10 and before 1.7.8.7 contain an SQL injection caused by unsanitized user input, letting attackers chain the vulnerability to call PHP's Eval function, exploit requires attacker to send malicious input. | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-31181.yaml | POC详情 |
暂无评论