Lucene search
K

Wordpress Plugins - leaflet maps marker Blind SQL Injection Vulnerability

🗓️ 10 Jul 2012 00:00:00Reported by KinG Of PiraTeSType 
zdt
 zdt
🔗 0day.today👁 60 Views

WordPress plugin “Leaflet Maps Marker” Blind SQL Injection Vulnerabilit

Code
================================================================================
____ _    _    ____ _  _    ____ _  _ ___  ____ ____ 
|__| |    |    |__| |__|    |__| |_/  |__] |__| |__/ 
|  | |___ |___ |  | |  |    |  | | \_ |__] |  | |  \ 
                                                     
================================================================================
####
# Exploit Title: WordPress leaflet maps marker plugin Blind SQL Injection Vulnerability
# Author: KinG Of PiraTeS
# Facebook Profile: www.fb.me/cr4ck3d
# Facebeook Page : www.fb.me/serial.crack
# Facebeook Page : www.fb.me/Cars2Luxe
# E-mail: [email protected] / [email protected]
# Web Site : www.1337day.com | www.inj3ct0rs.com
# Category:: webapps
# Google Dork: NA
# platform : php
# Vendor: http://www.mapsmarker.com/
# Version: 1.x.x
# Security Risk : High
# Tested on: [Windows 7 Edition Intégrale 64bit ]
####


##
# | >> --------+++=[ Dz Offenders Cr3w ]=+++-------- << |
# | > Indoushka * KedAns-Dz * Caddy-Dz * Kalashinkov3   |
# | Jago-dz * Over-X * Kha&miX * Ev!LsCr!pT_Dz * Dr.55h |
# | * ------>  KinG Of PiraTeS * The g0bl!n <-------- * | 
# | ------------------------------------------------- < |
###

>>>>>>>>>>>>>>>>> Joyeux Anniversaire Bensekran Menaouri <<<<<<<<<<<<<<<<<<<< 


# 
1)Introduction
2)Vulnerability Description
3)Exploit

>> ----------------------------------------------------------------
1)Introduction
==============

The WordPress plugin “Leaflet Maps Marker” allows you to pin, organize & show your favorite places through OpenStreetMap on your blog and via different APIs on external websites or apps 

2)Vulnerability Description
===========================

U can inject SQL query/command as an input possibly via web pages. Many web pages take parameters from web user, and make SQL query to the database. 
Take for instance when a user login, web page that user name and password and make SQL query to the database to check if a user has valid name and password. 
With SQL Injection, it is possible for us to send crafted user name and/or password field that will change the SQL query and thus grant us something else.

3)Exploit
=========

[~] P0c [~] :
============

Vuln file in :

http://Localhost/{Path}/wp-content/plugins/leaflet-maps-marker/leaflet-fullscreen.php


[~] Vuln Code [~] :

---
elseif (isset($_GET['marker'])) {
	$markerid = mysql_real_escape_string($_GET['marker']);
    $uid = substr(md5(''.rand()), 0, 8);
    $pname = 'pa'.$uid;
	$table_name_markers = $wpdb->prefix.'leafletmapsmarker_markers';
		$row = $wpdb->get_row('SELECT id,markername,basemap,layer,lat,lon,icon,popuptext,zoom,openpopup,mapwidth,mapwidthunit,mapheight,panel,controlbox,overlays_custom,overlays_custom2,overlays_custom3,overlays_custom4,wms,wms2,wms3,wms4,wms5,wms6,wms7,wms8,wms9,wms10 FROM '.$table_name_markers.' WHERE id='.$markerid, ARRAY_A);
		if(!empty($row)) {
		
.
.
.


-----
The Variable ID is Not filtred , It mean that u can Inject SQL Orders 

[~] D3m0 [~] :
=============

often the ID Number 22 is Always Open

http://innsatmontpelier.com/wordpress/wp-content/plugins/leaflet-maps-marker/leaflet-fullscreen.php?marker=[Inj3ct Here]
http://firstcoastentertainment.com/wp-content/plugins/leaflet-maps-marker/leaflet-fullscreen.php?marker=[Inj3ct Here]
http://promotingot.org/wp-content/plugins/leaflet-maps-marker/leaflet-fullscreen.php?marker=[Inj3ct Here]
.
.

####

Peace From Algeria

####
=================================**Algerians Hackers**===============================================
# Greets To : 
   KedAns-Dz & Caddy-Dz & kalashinkov3 **All Algerians Hackers** , Kondamne ,  errajol ettayeb
   (exploit-id.com) , (1337day.com) , (Sec4ever.com) , (h4ckforu.com) , (alboraaq.com)
   All My Friendz: Hanixpo , Caddy-Dz , Indoushka , Jago-dz ,saoucha , BriscO-Dz
   Over-X , Kha&miX ,Ev!LsCr!pT_Dz , T0xic , Tn_Scorpion , ..others ?___?
=====================================================================================================



#  0day.today [2018-01-09]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation