The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


Mafia Moblog Full Path Disclosure / SQL injection


<< Previous INDEX Search src / Print Next >>
Date: 8 Jun 2006 00:18:33 -0000
From: [email protected]
To: [email protected]
Subject: Mafia Moblog Full Path Disclosure / SQL injection
X-Virus-Scanned: antivirus-gw at tyumen.ru

Produce : Mafia Moblog
WebSite :http://mafia.pearlabs.org
Version : 6 Full and Prior
Discovred By :Moroccan Security Research Team (Simo64)
IMPACT  : Manipulation of data, System access

[+] Full Path Disclosure :
The problem is that it is possible to disclose the full path to 'big.php','upgrade.php' by accessing directly.

Exemple:

http://localhost/moblog/big.php

Result : 

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/simo64/www/moblog/templates/match plus/big.php on line 54

[+] SQL Injection :

Input passed to 'img' parameters in 'big.php' is not properly sanitised
before being used in an SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

[-] Vulnerable Code in 'templates/match plus/big.php' :
****************************
52  $query = "SELECT * FROM $table WHERE id=$img";
53  $result = mysql_query($query);
54  $row = mysql_fetch_row($result);
***************************

[-] Exploit : http://localhost//moblog/big.php?img=&#091;SQL]&pg=1

        
[+]Contact : [email protected] [Moroccan Security Team]


<< Previous INDEX Search src / Print Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру