Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
August 25, 2019
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: 196
Members: 0
Total: 196
PacketStorm News
Currently there is a problem with headlines from this site
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Cross-site scripting aka XSS -> What if the <> tags are filtered?
Post new topic  Reply to topic View previous topic :: View next topic 
What if the <> tags are filtered?
PostPosted: Sun Feb 10, 2008 5:21 pm Reply with quote
Panic_Mode
Active user
Active user
 
Joined: Feb 09, 2008
Posts: 39




Exept for <> tags what other way can be used to test if a site is vulnerable...?

I found XSS vulnerability by injecting javascript through the sites search engine but the admin found it and fixed that. Now I use >" <script> tags etc and the engine ignores them and just continues searching...

Is there another place in the site that I can test if it is capable of XSS ?
View user's profile Send private message
PostPosted: Sun Feb 10, 2008 5:34 pm Reply with quote
pexli
Valuable expert
Valuable expert
 
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




< = %3C
> = %3E

< = chr(60)
> = chr(62)
View user's profile Send private message
PostPosted: Sun Feb 10, 2008 5:40 pm Reply with quote
Panic_Mode
Active user
Active user
 
Joined: Feb 09, 2008
Posts: 39




yeh indeed Razz

chance of being filtered too?
View user's profile Send private message
PostPosted: Wed Mar 12, 2008 2:07 am Reply with quote
Oilik
Active user
Active user
 
Joined: Mar 05, 2008
Posts: 35




koko wrote:
< = %3C
> = %3E

I thought your browser automatically made those when putting < and > in the URL bar and clicking enter[also applies to PostData], and that file on the server automatically makes that < and >, so it would make no difference.

Correct me if I'm wrong..
View user's profile Send private message
PostPosted: Fri Jun 13, 2008 9:02 pm Reply with quote
lenny
Valuable expert
Valuable expert
 
Joined: May 15, 2008
Posts: 275
Location: United Kingdom




You can't really do anything about that, unless the php script is dumping anything into a javascript already, where it would just be a case of escaping the quotes and adding a semicolon... then doing what you like!

For example, I dealt with a script that did this:

Quote:
...html stuff...
<script>
var abc = "blahblahblah {$php_variable} blah balh blah";
</script>
...html stuff...


The php variable was sanitized with simple "addslashes" so I was able to escape the the initial quotes despite the addslashes, turning it into this:

Quote:
...html stuff...
<script>
var abc = "blahblahblah "; window.location="XSS in here"; // blah balh blah";
</script>
...html stuff...

I did so using
Quote:
"; window.location="XSS in here"; //



Smile
View user's profile Send private message
What if the <> tags are filtered?
  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






Film DVD comments and reviews
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-2013 Janek Vind "waraxe"
Page Generation: 0.077 Seconds