Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
March 29, 2024
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9145

People Online:
Visitors: 859
Members: 0
Total: 859
PacketStorm News
·301 Moved Permanently

read more...
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> vBulletin Board -> vBulletin <= 3.5.4 with MKPortal 1.1 Remote SQL Injection
Post new topic  Reply to topic View previous topic :: View next topic 
vBulletin <= 3.5.4 with MKPortal 1.1 Remote SQL Injection
PostPosted: Sat May 06, 2006 12:41 pm Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Original source:

http://www.nukedx.com/?viewdoc=26

Code:

--Security Report--
Advisory: vBulletin <= 3.5.4 with MKPortal 1.1 Remote SQL Injection
Vulnerability.
---
Author: Mustafa Can Bjorn "nukedx a.k.a nuker" IPEKCI
---
Date: 21/04/06 22:36 PM
---
Contacts:{
ICQ: 10072
MSN/Email: nukedx@nukedx.com
Web: http://www.nukedx.com
}
---
Vendor: MKPortal (http://www.mkportal.it/)
Version: 1.1 RC1 and prior versions must be affected. (Runs on vBulletin!)
About: Via this methods remote attacker can inject arbitrary SQL queries to
ind parameter in index.php of MKPortal.
Vulnerable code can be found in the file
mkportal/include/VB/vb_board_functions.php at line 35-37, as you can see it
easy to
by pass this SQL update function.
Also there is cross-site scripting vulnerability in pm_popup.php the
parameters u1,m1,m2,m3,m4 did not sanitized properly.
Level: Critical
---
How&Example:
SQL Injection :

GET -> http://[victim]/[mkportaldir]/index.php?ind=[SQL]
EXAMPLE -> http://[victim]/[mkportaldir]/index.php?ind=',userid='1
So with this example remote attacker updates his session's userid to 1 and
after refreshing the page he can logs as userid 1.

XSS:
GET ->

http://[victim]/[mkportaldir]/includes/pm_popup.php?u1=[XSS]&m1=[XSS]&m2=[XSS]&m3=[XSS]&m4=[XSS]

---
Timeline:
* 21/04/2006: Vulnerability found.
* 21/04/2006: Contacted with vendor and waiting reply.
---
Exploit:
http://www.nukedx.com/?getxpl=26
---
Dorks: "MKPortal 1.1 RC1"
---
Original advisory can be found at: http://www.nukedx.com/?viewdoc=26

View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Mon Jul 03, 2006 8:28 pm Reply with quote
superninja
Active user
Active user
 
Joined: Jul 03, 2006
Posts: 38




k but where must i put this script?
View user's profile Send private message
PostPosted: Tue Jul 04, 2006 1:36 pm Reply with quote
Chb
Valuable expert
Valuable expert
 
Joined: Jul 23, 2005
Posts: 206
Location: Germany




Lolmao, this is not a script. It's a advisory. Wink Just read it.

_________________
www.der-chb.de
View user's profile Send private message Visit poster's website ICQ Number
PostPosted: Tue Jul 04, 2006 2:41 pm Reply with quote
superninja
Active user
Active user
 
Joined: Jul 03, 2006
Posts: 38




whats http://[victim]/[mkportaldir]/includes/pm_popup.php?u1=[XSS]&m1=[XSS]&m2=[XSS]&m3=[XSS]&m4=[XSS]

also

http://[victim]/[mkportaldir]/index.php?ind=[SQL]


what must i put there (the bold words)?[/b]
View user's profile Send private message
PostPosted: Tue Jul 04, 2006 3:52 pm Reply with quote
Chb
Valuable expert
Valuable expert
 
Joined: Jul 23, 2005
Posts: 206
Location: Germany




superninja wrote:
whats http://[victim]/[mkportaldir]/includes/pm_popup.php?u1=[XSS]&m1=[XSS]&m2=[XSS]&m3=[XSS]&m4=[XSS]

Victim: Take a look into a directory... You got to put your victim there.
mkportaldir: mkportal directory path...
XSS: Your Cross Site Scripting.

Quote:
http://[victim]/[mkportaldir]/index.php?ind=[SQL]

SQL: A SQL-Query for SQL-injection.

_________________
www.der-chb.de
View user's profile Send private message Visit poster's website ICQ Number
PostPosted: Tue Jul 04, 2006 8:15 pm Reply with quote
superninja
Active user
Active user
 
Joined: Jul 03, 2006
Posts: 38




Chb wrote:
superninja wrote:
whats http://[victim]/[mkportaldir]/includes/pm_popup.php?u1=[XSS]&m1=[XSS]&m2=[XSS]&m3=[XSS]&m4=[XSS]

Victim: Take a look into a directory... You got to put your victim there.
mkportaldir: mkportal directory path...
XSS: Your Cross Site Scripting.

Quote:
http://[victim]/[mkportaldir]/index.php?ind=[SQL]

SQL: A SQL-Query for SQL-injection.

mkportaldir is /forum /phpbb or /forums??

also

XSS i where is XSS?
View user's profile Send private message
PostPosted: Tue Jul 04, 2006 11:29 pm Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




XSS:

http://www.cgisecurity.com/articles/xss-faq.shtml
http://en.wikipedia.org/wiki/XSS

Sql Injection:

http://en.wikipedia.org/wiki/Sql_injection
http://www.cgisecurity.com/questions/sql.shtml
http://www.google.com/search?hl=en&q=sql+injection
http://www.spidynamics.com/whitepapers/WhitepaperSQLInjection.pdf

And this:

http://www.google.com/search?hl=en&lr=&q=sql+injection+vbulletin+example
http://lists.grok.org.uk/pipermail/full-disclosure/2006-April/045370.html
View user's profile Send private message Send e-mail Visit poster's website
PostPosted: Sat Jul 08, 2006 7:12 am Reply with quote
cheaparse
Beginner
Beginner
 
Joined: Jun 27, 2006
Posts: 2




ahh this is great, but does anyone have any other exploits / advisories for vbulletin 3.5.4 WITHOUT mkportal?

what if you're on a board where they have to verify your sign ups? so that means that you sign up, and you can log into your profile, but you CANNOT send private messages or post any messages (there goes XSS out the window)?

As for the impex exploit, it is there, but you get error messages when you try for file inclusion (this includes from all 3 impex files). i don't understand why.. i tried it for another 3.5.4 and it was successful.. but that was very rare


P.S. all i want to do is make my account active.. if you know any workarounds for vb 3.5.4 let me (and others if you don't mind) know Smile
View user's profile Send private message
PostPosted: Sat Jul 08, 2006 11:32 pm Reply with quote
superninja
Active user
Active user
 
Joined: Jul 03, 2006
Posts: 38




Whats MKportal i know whats XSS already now i learned something but what's mkportal ? Smile

And someone give me some XSS text Smile
View user's profile Send private message
vBulletin <= 3.5.4 with MKPortal 1.1 Remote SQL Injection
  www.waraxe.us Forum Index -> vBulletin Board
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  




Powered by phpBB © 2001-2008 phpBB Group






Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2020 Janek Vind "waraxe"
Page Generation: 0.206 Seconds